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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x511ae0
sub esp, 0x84
mov edx, dword [esp + 0x88]
test edx, edx
je 0x5112b1
movzx ebx, byte [edx]
cmp bl, 0x10
ja 0x511006
cmp bl, 0xd
je 0x51128c
cmp bl, 0xe
jb 0x5112a3
mov ebx, dword [edx + 8]
test ebx, ebx
jbe 0x511ad6
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00510ed0
mov eax, dword [esp + 4]
movzx ecx, byte [eax]
cmp cl, 2
jne 0x510f46
mov edx, eax
jmp 0x510ff8
mov edx, dword [esp + 0x88]
movzx ebx, byte [edx]
movzx ebp, word [edx + 2]
cmp cl, bl
jne 0x510f70
mov esi, ebp
and ebp, 0x20
movzx edi, word [eax + 2]
and edi, 0x20
cmp di, bp
jne 0x510f72
mov edx, eax
jmp 0x510ff8
mov esi, ebp
mov ebp, dword [edx + 8]
test ebp, ebp
jbe 0x511acd
mov ecx, dword [edx + 4]
cmp dword [ecx], eax
je 0x510ff8
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], bl
mov word [esp + 0x2e], si
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
movzx ecx, word [esp + 0x2e]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x510fc3
mov ecx, dword [esp + 0x54]
jmp 0x510fce
call fcn.00467c40
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x510ff3
call fcn.00467c40
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, eax
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
cmp bl, 0x11
jne 0x511287
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x511040
mov ebx, dword [edx + 0x2c]
test ebx, ebx
jne 0x511040
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 2
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
mov ebx, dword [edx + 8]
test ebx, ebx
jbe 0x511ac4
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00510ed0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 4]
mov dword [esp + 0x50], edx
cmp ecx, 0xffffffff
jne 0x511211
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x511172
cmp ecx, 1
je 0x5110d3
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x5110ba
call fcn.00467c40
mov dword [edi], edx
mov dword [esp + 0x64], eax
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x5118ee
movzx ecx, byte [edx]
cmp cl, 2
jne 0x5110e2
mov eax, edx
jmp 0x511164
movzx eax, word [eax + 2]
mov word [esp + 0x2a], ax
cmp cl, 0xf
jne 0x511103
and eax, 0x20
movzx ebx, word [edx + 2]
and ebx, 0x20
cmp bx, ax
jne 0x511103
mov eax, edx
jmp 0x511164
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x2a]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x511131
mov ecx, dword [esp + 0x50]
jmp 0x51113c
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x511161
call fcn.00467c40
mov dword [edi], edx
mov dword [eax + 4], edx
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
movzx ecx, byte [edx]
cmp cl, 2
jne 0x511181
mov eax, edx
jmp 0x511203
movzx eax, word [eax + 2]
mov word [esp + 0x2c], ax
cmp cl, 0xe
jne 0x5111a2
and eax, 0x20
movzx ebx, word [edx + 2]
and ebx, 0x20
cmp bx, ax
jne 0x5111a2
mov eax, edx
jmp 0x511203
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0xe
movzx ecx, word [esp + 0x2c]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5111d0
mov ecx, dword [esp + 0x50]
jmp 0x5111db
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x511200
call fcn.00467c40
mov dword [edi], edx
mov dword [eax + 4], edx
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
mov ebx, dword [eax + 0x28]
cmp ebx, 1
jne 0x51122c
cmp ecx, 1
jne 0x51122c
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
test ebx, ebx
jg 0x511237
xor ecx, ecx
jmp 0x5115dc
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x51126e
call fcn.00467c40
mov dword [edi], edx
mov dword [esp + 0x6c], eax
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x511529
cmp bl, 0x13
ja 0x5112a3
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x80], ecx
mov ebx, edx
xor ebp, ebp
jmp 0x5112dc
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
add esp, 0x84
ret
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
cmp ebp, eax
jge 0x511511
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x68], edx
mov eax, dword [ecx + ebp*4]
mov dword [esp + 0x58], eax
mov dword [esp], eax
call fcn.00510ed0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jne 0x511473
mov ebx, dword [esp + 0x58]
cmp eax, ebx
je 0x511473
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [0x860560]
mov edi, dword [esp + 4]
mov dword [esp + 0x68], edi
test eax, eax
je 0x511363
lea eax, [0x62bfa0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00411510
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x88]
call fcn.0046836a
mov eax, dword [esp + 0x68]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov ecx, dword [0x860560]
test ecx, ecx
je 0x511395
mov ebx, dword [eax + 0x14]
call fcn.00467c40
mov dword [edi], ebx
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0x88]
mov edx, dword [ebx + 0xc]
mov ebp, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x51151f
lea edx, [eax + 0x10]
cmp ecx, 1
ja 0x5113c6
mov esi, ecx
mov edi, 1
jmp 0x511404
mov dword [esp + 0x7c], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov ecx, ebp
mov edi, eax
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x78], edx
lea eax, [0x6298c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004115b0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
jne 0x511450
mov eax, dword [esp + 0x78]
jmp 0x511461
call fcn.00467c50
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x68]
cmp ecx, edx
je 0x5112c3
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
inc ebp
mov esi, dword [edx + 4]
cmp ebx, ebp
jae 0x5114ed
mov dword [esp + 0x74], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x5114d9
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x70]
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0x88]
mov edx, ebx
mov dword [edx + 8], ebp
mov ebx, dword [0x860560]
test ebx, ebx
je 0x511508
call fcn.00467c50
mov dword [edi], eax
mov ebx, dword [esi + ebp*4 - 4]
mov dword [edi + 4], ebx
mov dword [esi + ebp*4 - 4], eax
jmp 0x5112c3
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
call fcn.00467cf0
mov dword [edi + esi*4 - 4], ecx
inc ebx
cmp dword [edx + 0x28], ebx
jle 0x5115d4
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 8]
inc esi
mov edi, dword [eax + 4]
cmp ebp, esi
jae 0x5115a8
mov dword [esp + 0x34], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x511590
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebx, dword [esp + 0x34]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
mov dword [eax + 8], esi
mov ebp, dword [0x860560]
test ebp, ebp
je 0x511524
mov ebp, edi
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebp + esi*4 - 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x6c]
mov edi, ebp
jmp 0x511524
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [eax + 0x2c]
cmp dword [eax + 0x28], ebx
jge 0x511694
mov dword [esp + 0x6c], ecx
movzx ebx, byte [edx]
cmp bl, 2
jne 0x5115fb
mov ebx, edx
jmp 0x51168e
movzx ebp, word [eax + 2]
mov word [esp + 0x26], bp
cmp bl, 0x10
jne 0x51161c
and ebp, 0x20
movzx esi, word [edx + 2]
and esi, 0x20
cmp si, bp
jne 0x51161c
mov ebx, edx
jmp 0x51168e
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x26]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x51164a
mov ecx, dword [esp + 0x50]
jmp 0x511655
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov edx, dword [0x860560]
lea ebx, [eax + 0x10]
test edx, edx
je 0x51167a
call fcn.00467c40
mov dword [edi], ebx
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x88]
mov ebp, dword [eax + 0x28]
inc ebp
jmp 0x5116dc
test ecx, ecx
je 0x5116a6
mov dword [esp + 0x8c], ecx
add esp, 0x84
ret
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 1
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
mov esi, dword [esp + 0x30]
lea ebp, [esi + 1]
mov eax, edx
mov ecx, dword [esp + 0x6c]
mov edx, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x60], edx
cmp dword [eax + 0x2c], ebp
jle 0x511848
mov dword [esp + 0x30], ebp
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov byte [eax], 0x12
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 1
mov dword [esp + 0xc], 2
lea ecx, [0x6298c0]
mov dword [esp + 0x10], ecx
call fcn.0044dbe0
mov eax, dword [0x860560]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x51174f
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
jmp 0x51176c
call fcn.00467c70
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [edi + 8], ebx
mov ebp, dword [ecx + 4]
mov dword [edi + 0xc], ebp
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 8], 2
mov dword [ebx + 0xc], edx
mov edx, dword [0x860560]
test edx, edx
je 0x511796
call fcn.00467c50
mov dword [edi], ecx
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov dword [ebx + 4], ecx
movzx ecx, byte [ebx]
cmp cl, 2
jne 0x5117ad
mov edx, dword [esp + 0x88]
jmp 0x5116c9
mov edx, dword [esp + 0x88]
movzx ebp, word [edx + 2]
mov word [esp + 0x24], bp
cmp cl, 0x10
jne 0x5117d5
and ebp, 0x20
movzx esi, word [ebx + 2]
and esi, 0x20
cmp si, bp
je 0x5116c9
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x24]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x511803
mov ecx, dword [esp + 0x5c]
jmp 0x51180e
call fcn.00467c40
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x511833
call fcn.00467c40
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x88]
mov ebx, eax
mov eax, dword [esp + 0x50]
jmp 0x5116c9
test ecx, ecx
je 0x5118db
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
inc ebx
mov ebp, dword [ecx + 4]
cmp eax, ebx
jae 0x5118b7
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x5118aa
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x60]
mov dword [ecx + 8], ebx
mov eax, dword [0x860560]
test eax, eax
je 0x5118d2
call fcn.00467c50
mov dword [edi], edx
mov eax, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], eax
mov dword [ebp + ebx*4 - 4], edx
jmp 0x511694
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
mov dword [edi + esi*4 - 4], ecx
inc ebx
mov ebp, dword [edx + 0x28]
dec ebp
cmp ebx, ebp
jge 0x51199c
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 8]
inc esi
mov edi, dword [eax + 4]
cmp ebp, esi
jae 0x511970
mov dword [esp + 0x38], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x511958
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebx, dword [esp + 0x38]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
mov dword [eax + 8], esi
mov ebp, dword [0x860560]
test ebp, ebp
je 0x5118e9
mov ebp, edi
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebp + esi*4 - 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x64]
mov edi, ebp
jmp 0x5118e9
movzx ebx, byte [ecx]
cmp bl, 2
je 0x511a2c
movzx edx, word [edx + 2]
mov word [esp + 0x28], dx
cmp bl, 0xf
jne 0x5119c5
and edx, 0x20
movzx ebp, word [ecx + 2]
and ebp, 0x20
cmp bp, dx
je 0x511a2c
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x28]
mov word [eax + 2], cx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5119f3
mov ecx, dword [esp + 0x50]
jmp 0x5119fe
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x860560]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x511a23
call fcn.00467c40
mov dword [edi], edx
mov dword [eax + 4], edx
mov ecx, eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
inc ebx
mov ebp, dword [eax + 4]
cmp edx, ebx
jae 0x511a97
mov dword [esp + 0x4c], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6298c0]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0xc], eax
mov eax, dword [0x860560]
test eax, eax
je 0x511a8a
call fcn.00467c50
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov edx, dword [0x860560]
test edx, edx
je 0x511ab2
call fcn.00467c50
mov dword [edi], ecx
mov edx, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], edx
mov dword [ebp + ebx*4 - 4], ecx
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
xor eax, eax
mov ecx, eax
call fcn.00467cb0
xor eax, eax
mov ecx, eax
call fcn.00467cb0
xor eax, eax
mov ecx, eax
call fcn.00467cb0
nop
call fcn.00466840
jmp fcn.00510ed0