Function at 0x10055cf0
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 + 0x278]
inc ecx
test eax, eax
mov dword [esi + 0x260], ecx
je 0x10055d6c
call dword [0x100c2394]
cmp eax, dword [esi + 0x278]
je 0x10055d6c
mov eax, dword [esi + 0x428]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10055d4e
push eax
call dword [0x100c2718]
test eax, eax
je 0x10055d4e
mov eax, dword [esi + 0x428]
push 0
push edi
push 0x83e7
push eax
call dword [0x100c2748]
mov eax, dword [esi + 0x460]
test eax, eax
jne 0x100560c7
push edi
call dword [0x100c23d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x460], 1
call fcn.1002932e
mov edx, dword [esi + 0x134]
lea ecx, [esi + 0x134]
call dword [edx + 8]
mov eax, dword [esi + 0x454]
test eax, eax
je 0x10055dc8
mov al, byte [0x100edf98]
test al, 1
jne 0x10055db1
or al, 1
mov byte [0x100edf98], al
mov eax, dword [esi + 0x454]
mov dword [0x100edf94], eax
pushal
call dword [0x100edf94]
popal
mov ecx, dword [ebp - 4]
mov esi, ecx
mov dword [ecx + 0x454], 0
mov ebx, dword [esi + 0x160]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x10055dfa
mov edx, dword [esi + 0x16c]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x10055df5
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 0x10055dd7
mov eax, dword [esi + 0x160]
test eax, eax
jne 0x10055e08
xor edi, edi
jmp 0x10055e0e
mov edi, dword [esi + 0x158]
test ebx, ebx
jle 0x10055e2a
mov eax, dword [edi]
test eax, eax
je 0x10055e24
cmp eax, dword [esi + 0x68]
je 0x10055e24
push eax
call dword [0x100c2420]
add edi, 4
dec ebx
jne 0x10055e12
lea ecx, [esi + 0x150]
call fcn.10029c30
lea ecx, [esi + 0x18c]
call fcn.10029c30
lea ecx, [esi + 0x164]
call fcn.10029c30
lea ecx, [esi + 0x178]
call fcn.10029c30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1a0]
call fcn.100aca10
mov edi, dword [esi + 0x1ec]
shr edi, 2
test edi, edi
jle 0x10055ebd
xor ebx, ebx
test edi, edi
jle 0x10055e91
mov eax, dword [esi + 0x1e4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x10055e8c
push eax
call dword [0x100c2420]
inc ebx
cmp ebx, edi
jl 0x10055e78
lea ecx, [esi + 0x1dc]
call fcn.10029c30
lea ecx, [esi + 0x1f0]
call fcn.10029c30
lea ecx, [esi + 0x1b4]
call fcn.10029c30
lea ecx, [esi + 0x1c8]
call fcn.10029c30
mov ebx, dword [esi + 0x23c]
shr ebx, 2
test ebx, ebx
jle 0x10055eff
xor edi, edi
test ebx, ebx
jle 0x10055ee5
mov ecx, dword [esi + 0x234]
mov edx, dword [ecx + edi*4]
push edx
call dword [0x100c2420]
inc edi
cmp edi, ebx
jl 0x10055ed0
lea ecx, [esi + 0x22c]
call fcn.10029c30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x240]
call fcn.100aca10
mov ecx, esi
call fcn.100545b0
lea ecx, [esi + 0x25c]
call fcn.100b0b7c
lea ecx, [esi + 0x204]
call fcn.10029c30
lea ecx, [esi + 0x218]
call fcn.10029c30
mov ebx, dword [esi + 0x108]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x10055f4d
mov eax, dword [esi + 0x100]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.100ad4db
add esp, 4
inc edi
cmp edi, ebx
jl 0x10055f36
lea ecx, [esi + 0xf8]
call fcn.10029c30
mov eax, dword [esi + 0x458]
xor edi, edi
cmp eax, edi
je 0x10055f71
push eax
call dword [0x100c26ac]
mov dword [esi + 0x458], edi
mov eax, dword [esi + 0x45c]
cmp eax, edi
je 0x10055f88
push eax
call dword [0x100c26ac]
mov dword [esi + 0x45c], edi
mov eax, dword [esi + 0x428]
cmp eax, edi
je 0x10055fbc
push eax
call dword [0x100c2718]
test eax, eax
je 0x10055fbc
push edi
call fcn.100ad9a3
test eax, eax
je 0x10055fb6
mov edx, dword [esi + 0x40c]
lea ecx, [esi + 0x40c]
call dword [edx + 0x58]
mov dword [esi + 0x428], edi
mov ecx, esi
call fcn.10052f80
mov ecx, esi
call 0x100597b0
cmp dword [esi + 0x2b4], edi
jne 0x10055fd6
xor ecx, ecx
jmp 0x10055fdc
mov ecx, dword [esi + 0x2ac]
mov eax, dword [esi + 0x2b4]
shr eax, 2
cmp eax, edi
jle 0x10056043
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ecx]
xor ebx, ebx
cmp edi, ebx
je 0x1005602f
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 0x10056013
push eax
call dword [0x100c26ac]
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x10056026
push eax
call fcn.100ad4db
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.100ad4db
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 0x10055fef
xor edi, edi
lea ecx, [esi + 0x2a4]
call fcn.10029c30
cmp dword [esi + 0x3fc], 1
jne 0x10056063
call dword [0x100c27e4]
mov dword [esi + 0x3fc], edi
mov ebx, dword [esi + 0x128]
test ebx, ebx
jle 0x1005608f
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.10054d90
inc edi
cmp edi, ebx
jl 0x1005606d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x10c]
call fcn.100aca10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x120]
call fcn.100aca10
mov eax, dword [esi + 0x448]
test eax, eax
je 0x100560c7
call dword [0x100c283c]
mov dword [esi + 0x448], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4