Function at 0x10056600
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x2b4]
inc ecx
test eax, eax
mov dword [esi + 0x260], ecx
je 0x1005667c
call dword [0x100c3398]
cmp eax, dword [esi + 0x2b4]
je 0x1005667c
mov eax, dword [esi + 0x464]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1005665e
push eax
call dword [0x100c3718]
test eax, eax
je 0x1005665e
mov eax, dword [esi + 0x464]
push 0
push edi
push 0x83e7
push eax
call dword [0x100c3748]
mov eax, dword [esi + 0x49c]
test eax, eax
jne 0x10056a16
push edi
call dword [0x100c33d8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x49c], 1
call fcn.10054830
mov ecx, esi
call fcn.1002926e
mov edx, dword [esi + 0x134]
lea ecx, [esi + 0x134]
call dword [edx + 8]
mov eax, dword [esi + 0x490]
test eax, eax
je 0x100566df
mov al, byte [0x100ed46c]
test al, 1
jne 0x100566c8
or al, 1
mov byte [0x100ed46c], al
mov eax, dword [esi + 0x490]
mov dword [0x100ed468], eax
pushal
call dword [0x100ed468]
popal
mov ecx, dword [ebp - 4]
mov esi, ecx
mov dword [ecx + 0x490], 0
mov ebx, dword [esi + 0x160]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x10056711
mov edx, dword [esi + 0x16c]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x1005670c
mov ecx, dword [esi + 0x194]
push 0
mov edx, dword [ecx + edi*4]
push edx
push 6
call dword [eax + 0x78]
inc edi
cmp edi, ebx
jl 0x100566ee
mov eax, dword [esi + 0x160]
test eax, eax
jne 0x1005671f
xor edi, edi
jmp 0x10056725
mov edi, dword [esi + 0x158]
test ebx, ebx
jle 0x10056741
mov eax, dword [edi]
test eax, eax
je 0x1005673b
cmp eax, dword [esi + 0x68]
je 0x1005673b
push eax
call dword [0x100c3420]
add edi, 4
dec ebx
jne 0x10056729
lea ecx, [esi + 0x150]
call fcn.10029b70
lea ecx, [esi + 0x18c]
call fcn.10029b70
lea ecx, [esi + 0x164]
call fcn.10029b70
lea ecx, [esi + 0x178]
call fcn.10029b70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1a0]
call fcn.100ad864
mov edi, dword [esi + 0x1ec]
shr edi, 2
test edi, edi
jle 0x100567d4
xor ebx, ebx
test edi, edi
jle 0x100567a8
mov eax, dword [esi + 0x1e4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x100567a3
push eax
call dword [0x100c3420]
inc ebx
cmp ebx, edi
jl 0x1005678f
lea ecx, [esi + 0x1dc]
call fcn.10029b70
lea ecx, [esi + 0x1f0]
call fcn.10029b70
lea ecx, [esi + 0x1b4]
call fcn.10029b70
lea ecx, [esi + 0x1c8]
call fcn.10029b70
mov ebx, dword [esi + 0x23c]
shr ebx, 2
test ebx, ebx
jle 0x10056816
xor edi, edi
test ebx, ebx
jle 0x100567fc
mov ecx, dword [esi + 0x234]
mov edx, dword [ecx + edi*4]
push edx
call dword [0x100c3420]
inc edi
cmp edi, ebx
jl 0x100567e7
lea ecx, [esi + 0x22c]
call fcn.10029b70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x240]
call fcn.100ad864
mov ecx, esi
call fcn.10054ec0
lea ecx, [esi + 0x25c]
call fcn.100b1a57
lea ecx, [esi + 0x204]
call fcn.10029b70
lea ecx, [esi + 0x218]
call fcn.10029b70
mov ebx, dword [esi + 0x108]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x10056864
mov eax, dword [esi + 0x100]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.100ae3b6
add esp, 4
inc edi
cmp edi, ebx
jl 0x1005684d
lea ecx, [esi + 0xf8]
call fcn.10029b70
mov eax, dword [esi + 0x494]
xor ebx, ebx
cmp eax, ebx
je 0x10056888
push eax
call dword [0x100c36a8]
mov dword [esi + 0x494], ebx
mov eax, dword [esi + 0x498]
cmp eax, ebx
je 0x1005689f
push eax
call dword [0x100c36a8]
mov dword [esi + 0x498], ebx
mov eax, dword [esi + 0x464]
cmp eax, ebx
je 0x100568d3
push eax
call dword [0x100c3718]
test eax, eax
je 0x100568d3
push ebx
call fcn.100ae87e
test eax, eax
je 0x100568cd
mov edx, dword [esi + 0x448]
lea ecx, [esi + 0x448]
call dword [edx + 0x58]
mov dword [esi + 0x464], ebx
mov ecx, esi
call fcn.10053660
mov eax, dword [esi + 0x430]
xor edi, edi
cmp eax, ebx
mov dword [ebp + 8], eax
jle 0x10056904
mov ecx, dword [esi + 0x42c]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x100568ff
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x100568e9
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x428]
call fcn.100ad600
push 1
mov ecx, esi
call fcn.1005a1d0
cmp dword [esi + 0x2f0], ebx
jne 0x10056927
xor ecx, ecx
jmp 0x1005692d
mov ecx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2f0]
shr eax, 2
cmp eax, ebx
jle 0x10056990
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ecx]
cmp edi, ebx
je 0x1005697e
mov eax, dword [edi + 0xc]
mov dword [edi], ebx
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
je 0x10056962
push eax
call dword [0x100c36a8]
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x10056975
push eax
call fcn.100ae3b6
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.100ae3b6
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add ecx, 4
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
jne 0x10056940
lea ecx, [esi + 0x2e0]
call fcn.10029b70
cmp dword [esi + 0x424], 1
jne 0x100569b0
call dword [0x100c381c]
mov dword [esi + 0x424], ebx
mov ebx, dword [esi + 0x128]
xor edi, edi
test ebx, ebx
jle 0x100569de
mov eax, dword [esi + 0x124]
mov edx, dword [esi + 0x110]
push 0
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + edi*4]
push ecx
push eax
mov ecx, esi
call fcn.100556a0
inc edi
cmp edi, ebx
jl 0x100569bc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x10c]
call fcn.100ad864
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x120]
call fcn.100ad864
mov eax, dword [esi + 0x484]
test eax, eax
je 0x10056a16
call dword [0x100c3858]
mov dword [esi + 0x484], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4