Function at 0x56b0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
add dword [0x6036bc], esi
cmp dword [edi + 0x354], 0
jne 0x56b100
cmp dword [edi + 0x358], 0
je 0x56bcdb
mov ecx, dword [edi + 0x270]
test ecx, ecx
je 0x56b11b
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
call edx
mov dword [edi + 0x270], 0
mov eax, dword [edi + 0x12c]
test eax, eax
mov dword [edi + 0x288], esi
je 0x56bce9
cmp dword [eax + 0x50], 0
je 0x56bce9
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x56bce9
cmp dword [eax + 0x90], 0
je 0x56bce9
add eax, 0x38
call fcn.00548180
test eax, eax
jbe 0x56bcb4
mov eax, dword [edi]
mov edx, dword [eax + 0x13c]
xor esi, esi
push esi
mov ecx, edi
call edx
mov ebx, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd8]
mov edx, dword [edi + 0xdc]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xd4]
push 0x6c
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.00578e5f
add esp, 4
cmp eax, esi
je 0x56b1c6
call fcn.00530b10
jmp 0x56b1c8
xor eax, eax
mov ecx, dword [edi + 0x12c]
mov dword [edi + 0x270], eax
mov ecx, dword [ecx + 0x50]
mov edx, dword [ecx + 0x24]
cmp edx, esi
mov dword [esp + 0x1c], edx
je 0x56b356
mov ecx, dword [ecx + 0xb0]
push ebx
push 0
push ecx
mov ecx, dword [edi + 0x1b8]
push 1
push 1
push eax
mov eax, dword [edi + 0xcc]
lea esi, [edi + 0xcc]
push edx
mov edx, dword [edi + 0x1b4]
mov dword [esp + 0x3c], esi
call fcn.00550fe0
test eax, eax
jne 0x56b356
mov edx, dword [edi + 0x1b8]
mov eax, dword [edi + 0x1b4]
push edx
push eax
mov eax, dword [edi + 0x270]
call fcn.00530c30
mov esi, dword [edi + 0x270]
xor edx, edx
call fcn.00530d40
mov esi, dword [ebp + 8]
push 1
push 0
xor edi, edi
lea ebx, [esp + 0x18]
call fcn.005476b0
test eax, eax
je 0x56b305
mov esi, dword [esp + 0x10]
test esi, esi
mov edi, dword [ebp + 8]
je 0x56b320
mov ecx, dword [edi + 0x12c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x56b30b
call fcn.00548810
mov esi, eax
test esi, esi
je 0x56b307
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x1b8]
mov edx, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x60], ecx
mov ecx, esi
xor ebx, ebx
call eax
mov edx, dword [esi]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
sub esp, 0x10
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [esp + 0x50], ecx
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x270]
push ebx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push eax
mov cl, 1
mov eax, esi
call fcn.00530460
jmp 0x56b307
mov edi, esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x56b320
push esi
call fcn.0057832c
add esp, 4
mov dword [esp + 0x10], 0
mov edx, dword [edi + 0x12c]
mov ecx, dword [esp + 0x44]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x20]
mov ebx, dword [edi + 0x270]
push ecx
mov ecx, dword [eax + 0xb0]
mov eax, dword [edx]
push 0
push ecx
mov ecx, dword [esp + 0x28]
push 1
push 1
add ecx, 4
call fcn.00551060
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x344]
test ecx, ecx
je 0x56b371
mov edx, dword [edi + 0x28c]
mov eax, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, dword [eax + 0x48]
push edx
call eax
mov ecx, dword [edi + 0x270]
push ecx
mov ecx, edi
call fcn.005521e0
mov ebx, dword [edi + 0x270]
test ebx, ebx
je 0x56b3ec
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x56b3ec
cmp dword [eax + 0x84], 0
je 0x56b3ec
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x56b3ec
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x56b3ec
mov eax, esi
call fcn.005565e0
test eax, eax
jne 0x56b3ec
mov eax, dword [edi + 0x3c8]
mov ecx, dword [edi + 0x3c4]
push ebx
push esi
call fcn.00540c80
test eax, eax
je 0x56b3ec
mov edx, dword [edi + 0x270]
mov ebx, dword [edi + 0x3c8]
mov edi, dword [edi + 0x3c4]
push edx
mov esi, eax
call fcn.0052f840
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28c]
cmp dword [eax + 0x1c], 0
je 0x56b4aa
cmp dword [edi + 0x344], 0
jne 0x56b4aa
mov eax, dword [eax + 0x18]
mov esi, dword [edi + eax*4 + 0x3ec]
test esi, esi
je 0x56b4aa
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
xor eax, eax
push eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov edx, dword [edi + 0x3e8]
sub edx, dword [edi + 0x3e0]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi + 0x3dc]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edi + 0x270]
push edx
mov edx, dword [edi + 0x3e4]
sub edx, dword [edi + 0x3dc]
push eax
mov eax, dword [edi + 0x3e0]
push ecx
mov bl, 1
mov dword [esp + 0x70], 0x1b
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0xc
mov dword [esp + 0x7c], 0x14
call fcn.005304e0
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x56b4d8
mov eax, dword [eax + 0x290]
test eax, eax
je 0x56b4d8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x56b4c1
sub eax, edx
sar eax, 1
je 0x56b4d8
push edi
call fcn.0053a080
mov edx, dword [edi + 0x28c]
cmp dword [edx + 0x300], 0
je 0x56b525
lea esi, [edi + 0x260]
mov eax, esi
call fcn.00548180
test eax, eax
jbe 0x56b525
mov eax, dword [edi + 0x3b0]
mov ecx, dword [edi + 0x3bc]
mov edx, dword [edi + 0x3b4]
push 1
push 0
push 0
push 0
push ecx
push eax
push edx
push eax
mov eax, dword [edi + 0x270]
push eax
call fcn.0052f590
add esp, 0x24
mov eax, dword [edi + 0x28c]
lea esi, [eax + 0x38]
add eax, 0x94
mov dword [esp + 0xc], eax
mov eax, esi
xor ebx, ebx
call fcn.00548180
test eax, eax
jle 0x56b65c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x56b55b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x56b560
call fcn.00578ff3
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
cmp dword [edx + 0x18], 0
je 0x56b65c
mov edi, ebx
call fcn.0041dda0
mov eax, dword [eax]
cmp dword [eax + 0x14], 1
je 0x56b59c
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx + 0x14], 2
je 0x56b59c
mov edi, dword [ebp + 8]
add edi, 0x1c8
call fcn.0052ca20
jmp 0x56b5aa
mov edi, dword [ebp + 8]
add edi, 0x1c8
call fcn.0052c9d0
mov edi, ebx
mov dword [esp + 0x14], eax
call fcn.0041dda0
mov edx, dword [eax]
cmp dword [edx + 0x14], 1
jne 0x56b5cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e4]
mov dword [esp + 0x18], ecx
jmp 0x56b5d9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e0]
mov dword [esp + 0x18], eax
mov edi, ebx
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx + 0x14], 2
jne 0x56b5f5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 0
je 0x56b647
mov edi, ebx
call fcn.0041dda0
mov dword [esp + 0x24], eax
call fcn.0041dda0
mov dword [esp + 0x20], eax
call fcn.0041dda0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [edx]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x270]
push ecx
push eax
call fcn.00530e80
mov eax, esi
add ebx, 1
call fcn.00548180
cmp ebx, eax
mov edi, dword [ebp + 8]
jl 0x56b548
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x56b6c6
add eax, 0x4c
call fcn.005524c0
test eax, eax
jne 0x56b6c6
add edi, 0x218
mov dword [esp + 0x14], edi
call fcn.0052c9d0
test eax, eax
je 0x56b6c3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28c]
cmp dword [eax + 4], 0
je 0x56b6c3
mov esi, ecx
mov eax, dword [esi + 0x208]
mov edi, dword [esi + 0x28c]
push eax
call fcn.0053fdc0
mov edx, dword [esi + 0x270]
mov ecx, dword [edi + 0x4c]
push eax
push edx
mov edx, dword [esp + 0x20]
lea ebx, [edi + 0x50]
call fcn.0053a8b0
mov edi, esi
jmp 0x56b6c6
mov edi, dword [ebp + 8]
add edi, 0x218
mov dword [esp + 0x14], edi
call fcn.0052c9d0
mov edi, eax
test edi, edi
je 0x56b712
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x28c]
lea ebx, [esi + 0x68]
mov eax, ebx
call fcn.005524c0
test eax, eax
jne 0x56b712
mov ecx, dword [ebx]
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x6c]
push 0x8c7a6b
push edi
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x270]
push eax
push edx
call fcn.00530e80
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28c], 0
je 0x56bcb1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
test eax, eax
je 0x56bcb1
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
je 0x56bcb1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x270], 0
je 0x56bcb1
mov edi, edx
add edi, 0x1f0
mov dword [esp + 0x24], edi
call fcn.0052c9d0
test eax, eax
je 0x56bcb1
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.00548180
test eax, eax
jle 0x56bcb1
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
je 0x56bcb1
mov edi, dword [esp + 0x14]
call fcn.0052c9d0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0052c9d0
mov edi, ebx
mov dword [esp + 0x20], eax
call fcn.0041dda0
mov eax, dword [eax]
test eax, eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
je 0x56b7e4
cmp dword [eax], 1
jne 0x56b7e4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28c]
cmp ebx, dword [ecx + 0xa4]
jne 0x56b816
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov edx, dword [eax]
cmp dword [edx], 5
je 0x56b816
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20c]
mov dword [esp + 0x1c], ecx
jmp 0x56b823
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x208]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28c]
cmp dword [edx + 0xa8], 0
je 0x56b885
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov dword [esp + 0x28], eax
call fcn.0041dda0
mov dword [esp + 0x2c], eax
call fcn.0041dda0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x270]
push ecx
push eax
call fcn.00530e80
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx], 0
je 0x56ba1f
call fcn.0041dda0
mov edx, dword [eax]
cmp dword [edx], 4
je 0x56ba1f
call fcn.0041dda0
mov eax, dword [eax]
cmp dword [eax], 5
je 0x56ba1f
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx], 6
je 0x56ba1f
call fcn.0041dda0
mov edx, dword [eax]
mov eax, dword [edx]
call fcn.0053f500
test eax, eax
je 0x56b9ae
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
add eax, 0x28
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
call fcn.0041dda0
mov eax, dword [eax]
cmp dword [eax], 1
jne 0x56b91d
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
jmp 0x56b925
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x12c]
call fcn.005299f0
mov esi, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0x2c], eax
call fcn.0041dda0
mov dword [esp + 0x28], eax
call fcn.0041dda0
mov dword [esp + 0x1c], eax
call fcn.0041dda0
mov dword [esp + 0x30], eax
call fcn.0041dda0
mov esi, dword [esp + 0x30]
mov esi, dword [esi]
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x20c]
push edx
lea edx, [ecx + 0x208]
mov ecx, dword [ecx + 0x270]
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov edx, dword [edx]
push edx
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
add esi, 8
push esi
push ecx
mov ecx, dword [eax + 4]
add edx, 0xc
lea ebx, [esp + 0x50]
call fcn.0053a9a0
jmp 0x56bb6d
call fcn.0041dda0
mov edx, dword [eax]
cmp dword [edx], 3
jne 0x56bb71
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov dword [esp + 0x30], eax
call fcn.0041dda0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x270]
push edx
add eax, 0x28
push ecx
lea edx, [esp + 0x40]
call fcn.0053ad20
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
add eax, 0x3c
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
jmp 0x56bb71
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov dword [esp + 0x30], eax
call fcn.0041dda0
mov dword [esp + 0x2c], eax
call fcn.0041dda0
mov dword [esp + 0x28], eax
call fcn.0041dda0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
add eax, 0x28
push eax
mov eax, dword [ecx + 0x270]
mov ecx, dword [edx + 4]
push eax
call fcn.0053a640
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx], 6
jne 0x56bb71
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x56bb71
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
sub ecx, dword [eax + 0x40]
add eax, 0x3c
mov dword [esp + 0x30], ecx
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x3c]
add eax, 0x3c
mov dword [esp + 0x28], ecx
call fcn.0041dda0
mov dword [esp + 0x2c], eax
call fcn.0041dda0
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x270]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0x40]
mov bl, 1
call fcn.005304e0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
call fcn.0041dda0
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
mov ecx, dword [ebp + 8]
add eax, 0x3c
mov dword [ecx + 0x2fc], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x300], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x304], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x308], eax
mov dword [ecx + 0x32c], 1
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28c]
cmp dword [ecx + 0x34], 2
jne 0x56bc99
mov edx, dword [eax + 0x12c]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 0x3c]
test eax, eax
mov dword [esp + 0x30], eax
je 0x56bc99
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0041dda0
mov ecx, dword [eax]
cmp dword [ecx + 0x10], 0
je 0x56bc99
call fcn.0041dda0
mov eax, dword [eax]
mov edx, dword [eax + 0x44]
add eax, 0x3c
sub edx, dword [eax]
je 0x56bc99
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
add eax, 0x3c
sub ecx, dword [eax + 4]
je 0x56bc99
call fcn.0041dda0
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x30]
call fcn.0054a7e0
test eax, eax
mov dword [esp + 0x20], eax
je 0x56bc99
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0x60], eax
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
sub ecx, dword [eax + 0x40]
add eax, 0x3c
mov dword [esp + 0x30], ecx
call fcn.0041dda0
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x3c]
add eax, 0x3c
mov dword [esp + 0x2c], ecx
call fcn.0041dda0
mov dword [esp + 0x28], eax
call fcn.0041dda0
mov edx, dword [esp + 0x30]
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [edx]
mov edx, dword [ecx + 0x40]
mov ecx, dword [eax + 0x3c]
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x270]
push ecx
push eax
mov eax, dword [esp + 0x3c]
xor cl, cl
xor edx, edx
call fcn.005304a0
mov eax, dword [esp + 0xc]
add ebx, 1
mov dword [esp + 0x18], ebx
call fcn.00548180
cmp ebx, eax
jl 0x56b791
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x270]
test eax, eax
je 0x56bcd4
cmp dword [edi + 0x284], 0
jne 0x56bcd4
mov ecx, dword [0x6036c0]
push ecx
push eax
call fcn.005300c0
mov ecx, edi
call fcn.00539a10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4