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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x504dde
sub esp, 0x84
mov edx, dword [esp + 0x88]
test edx, edx
je 0x5045ee
movzx ebx, byte [edx]
cmp bl, 0x10
ja 0x504365
cmp bl, 0xd
je 0x5045c9
cmp bl, 0xe
jb 0x5045e0
mov ebx, dword [edx + 8]
test ebx, ebx
jbe 0x504dd4
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00504240
mov eax, dword [esp + 4]
movzx ecx, byte [eax]
cmp cl, 2
jne 0x5042b6
mov edx, eax
jmp 0x504357
mov edx, dword [esp + 0x88]
movzx ebx, byte [edx]
movzx ebp, word [edx + 2]
cmp cl, bl
jne 0x5042dd
mov esi, ebp
and ebp, 0x20
movzx edi, word [eax + 2]
and edi, 0x20
cmp di, bp
jne 0x5042df
mov edx, eax
jmp 0x504357
mov esi, ebp
mov ebp, dword [edx + 8]
test ebp, ebp
jbe 0x504dcb
mov ecx, dword [edx + 4]
cmp dword [ecx], eax
je 0x504357
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], bl
mov word [esp + 0x2e], si
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
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 [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x504333
mov ecx, dword [esp + 0x58]
jmp 0x504341
call fcn.00464b00
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov edx, eax
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
cmp bl, 0x11
jne 0x5045c4
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x50439f
mov ebx, dword [edx + 0x2c]
test ebx, ebx
jne 0x50439f
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
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 0x504dc2
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00504240
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 4]
mov dword [esp + 0x54], edx
cmp ecx, 0xffffffff
jne 0x50454e
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x5044c0
cmp ecx, 1
je 0x504432
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x504419
call fcn.00464af0
mov dword [edi], edx
mov dword [esp + 0x6c], eax
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x504bfe
movzx ecx, byte [edx]
cmp cl, 2
jne 0x50443e
mov eax, edx
jmp 0x5044b2
movzx eax, word [eax + 2]
mov word [esp + 0x2a], ax
cmp cl, 0xf
jne 0x50445f
and eax, 0x20
movzx ebx, word [edx + 2]
and ebx, 0x20
cmp bx, ax
jne 0x50445f
mov eax, edx
jmp 0x5044b2
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x2a]
mov word [eax + 2], cx
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x504490
mov ecx, dword [esp + 0x54]
jmp 0x50449e
call fcn.00464b00
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
movzx ecx, byte [edx]
cmp cl, 2
jne 0x5044cc
mov eax, edx
jmp 0x504540
movzx eax, word [eax + 2]
mov word [esp + 0x2c], ax
cmp cl, 0xe
jne 0x5044ed
and eax, 0x20
movzx ebx, word [edx + 2]
and ebx, 0x20
cmp bx, ax
jne 0x5044ed
mov eax, edx
jmp 0x504540
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0xe
movzx ecx, word [esp + 0x2c]
mov word [eax + 2], cx
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x50451e
mov ecx, dword [esp + 0x54]
jmp 0x50452c
call fcn.00464b00
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
mov ebx, dword [eax + 0x28]
cmp ebx, 1
jne 0x504569
cmp ecx, 1
jne 0x504569
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
test ebx, ebx
jg 0x504574
xor ecx, ecx
jmp 0x504911
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x5045ab
call fcn.00464af0
mov dword [edi], edx
mov dword [esp + 0x60], eax
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x50485e
cmp bl, 0x13
ja 0x5045e0
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 0x504619
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 0x504844
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x70], edx
mov eax, dword [ecx + ebp*4]
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.00504240
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
cmp ecx, edx
jne 0x5047a6
mov ebx, dword [esp + 0x5c]
cmp eax, ebx
je 0x5047a6
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [0x6d0ed8]
mov edi, dword [esp + 4]
mov dword [esp + 0x70], edi
test eax, eax
je 0x5046ac
mov eax, dword [edi + 0x14]
mov ecx, edi
call fcn.00464af0
mov dword [edi], eax
lea eax, [0x56fcc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.004113d0
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x88]
call fcn.0046516a
mov eax, dword [esp + 0x70]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x14], 0
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x3c]
cmp ebp, edx
ja 0x504852
lea edx, [eax + 0x10]
cmp ebp, 1
ja 0x5046fb
mov esi, ebp
mov edi, 1
jmp 0x504737
mov dword [esp + 0x7c], ebx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
lea eax, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
lea eax, [0x56d3a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00411480
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
jne 0x504783
mov eax, dword [esp + 0x78]
jmp 0x504794
call fcn.00464b00
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 + 0x64]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
cmp ecx, edx
je 0x504600
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
inc ebp
mov esi, dword [edx + 4]
cmp ebx, ebp
jae 0x504820
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, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
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 [0x6d0ed8]
test eax, eax
je 0x50480c
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x64]
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0x88]
mov edx, ebx
mov dword [edx + 8], ebp
mov ebx, dword [0x6d0ed8]
test ebx, ebx
je 0x50483b
call fcn.00464b00
mov dword [edi], eax
mov ebx, dword [esi + ebp*4 - 4]
mov dword [edi + 4], ebx
mov dword [esi + ebp*4 - 4], eax
jmp 0x504600
mov dword [esp + 0x8c], edx
add esp, 0x84
ret
mov ecx, ebp
call fcn.00464bb0
mov dword [edi + esi*4 - 4], ecx
inc ebx
cmp dword [edx + 0x28], ebx
jle 0x504909
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 8]
inc esi
mov edi, dword [eax + 4]
cmp ebp, esi
jae 0x5048dd
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, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x5048c5
call fcn.00464b00
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 + 0x54]
mov edx, dword [esp + 0x88]
mov dword [eax + 8], esi
mov ebp, dword [0x6d0ed8]
test ebp, ebp
je 0x504859
mov ebp, edi
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [ebp + esi*4 - 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x60]
mov edi, ebp
jmp 0x504859
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x60]
mov ebx, dword [eax + 0x2c]
cmp dword [eax + 0x28], ebx
jge 0x5049bb
mov dword [esp + 0x60], ecx
movzx ebx, byte [edx]
cmp bl, 2
jne 0x504930
mov ebx, edx
jmp 0x5049b5
movzx ebp, word [eax + 2]
mov word [esp + 0x26], bp
cmp bl, 0x10
jne 0x504951
and ebp, 0x20
movzx esi, word [edx + 2]
and esi, 0x20
cmp si, bp
jne 0x504951
mov ebx, edx
jmp 0x5049b5
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x26]
mov word [eax + 2], cx
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x504982
mov ecx, dword [esp + 0x54]
jmp 0x504990
call fcn.00464b00
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x88]
mov ebp, dword [eax + 0x28]
inc ebp
jmp 0x504a03
test ecx, ecx
je 0x5049cd
mov dword [esp + 0x8c], ecx
add esp, 0x84
ret
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 1
mov dword [esp + 0x8c], eax
add esp, 0x84
ret
mov esi, dword [esp + 0x30]
inc esi
mov eax, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov edx, ebp
mov ebp, esi
mov dword [esp + 0x50], edx
cmp dword [eax + 0x2c], ebp
jle 0x504b58
mov dword [esp + 0x30], ebp
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], 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, [0x56d3a0]
mov dword [esp + 0x10], ecx
call fcn.0044b6b0
mov eax, dword [0x6d0ed8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x504a7a
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x68]
jmp 0x504aa4
call fcn.00464b40
mov eax, dword [esp + 0x54]
mov dword [edi], eax
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [edi + 8], ebx
mov ebp, dword [ecx + 4]
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ecx
mov ebp, dword [esp + 0x68]
mov esi, dword [ebp + 4]
mov dword [edi + 0x14], esi
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ebp + 8], 2
mov dword [ebp + 0xc], edx
mov dword [ebp + 4], ecx
movzx ecx, byte [ebp]
cmp cl, 2
jne 0x504acb
mov edx, dword [esp + 0x88]
jmp 0x5049f0
mov edx, dword [esp + 0x88]
movzx ebx, word [edx + 2]
mov word [esp + 0x24], bx
cmp cl, 0x10
jne 0x504af3
and ebx, 0x20
movzx esi, word [ebp + 2]
and esi, 0x20
cmp si, bx
je 0x5049f0
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x24]
mov word [eax + 2], cx
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x504b24
mov ecx, dword [esp + 0x68]
jmp 0x504b32
call fcn.00464b00
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov edx, dword [esp + 0x88]
mov ebp, eax
mov eax, dword [esp + 0x54]
jmp 0x5049f0
test ecx, ecx
je 0x504beb
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
inc ebx
mov ebp, dword [ecx + 4]
cmp eax, ebx
jae 0x504bc7
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x504bba
call fcn.00464b00
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 + 0x50]
mov dword [ecx + 8], ebx
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x504be2
call fcn.00464b00
mov dword [edi], edx
mov eax, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], eax
mov dword [ebp + ebx*4 - 4], edx
jmp 0x5049bb
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 0x504cac
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 8]
inc esi
mov edi, dword [eax + 4]
cmp ebp, esi
jae 0x504c80
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, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
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 [0x6d0ed8]
test eax, eax
je 0x504c68
call fcn.00464b00
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 + 0x54]
mov edx, dword [esp + 0x88]
mov dword [eax + 8], esi
mov ebp, dword [0x6d0ed8]
test ebp, ebp
je 0x504bf9
mov ebp, edi
call fcn.00464b00
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 0x504bf9
movzx ebx, byte [ecx]
cmp bl, 2
je 0x504d2a
movzx edx, word [edx + 2]
mov word [esp + 0x28], dx
cmp bl, 0xf
jne 0x504cd1
and edx, 0x20
movzx ebp, word [ecx + 2]
and ebp, 0x20
cmp bp, dx
je 0x504d2a
lea eax, [0x56fcc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x28]
mov word [eax + 2], cx
mov ecx, dword [0x6d0ed8]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x504d02
mov ecx, dword [esp + 0x54]
jmp 0x504d10
call fcn.00464b00
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 4], edx
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
inc ebx
mov ebp, dword [eax + 4]
cmp edx, ebx
jae 0x504d95
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, [0x56d3a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
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 [0x6d0ed8]
test eax, eax
je 0x504d88
call fcn.00464b00
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 [0x6d0ed8]
test edx, edx
je 0x504db0
call fcn.00464b00
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.00464b70
xor eax, eax
mov ecx, eax
call fcn.00464b70
xor eax, eax
mov ecx, eax
call fcn.00464b70
nop
call fcn.004636f0
jmp fcn.00504240