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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4c
push 0
push 0
dec ecx
jne 0x51c614
push ebx
push esi
push edi
mov ebx, eax
lea edi, [ebp - 0x150]
xor eax, eax
push ebp
push 0x51d7d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov esi, dword [0x533750]
mov esi, dword [esi]
mov eax, dword [ebx + 0x304]
mov edx, dword [eax]
call dword [edx + 0xe0]
lea edx, [ebp - 0x21c]
mov eax, dword [ebx + 0x3b0]
call fcn.0048aa20
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00409168
mov edx, dword [ebp - 0x218]
mov eax, dword [ebx + 0x3b0]
call fcn.0048aa34
lea edx, [ebp - 0x220]
mov eax, dword [ebx + 0x3b0]
call fcn.0048aa20
mov eax, dword [ebp - 0x220]
xor edx, edx
call fcn.00404c1c
jne 0x51c6b6
mov edx, 0x51d7f4
mov eax, dword [ebx + 0x304]
call fcn.0048b208
jmp 0x51d739
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x51c6fd
lea edx, [ebp - 0x224]
mov eax, dword [ebx + 0x35c]
call fcn.0048aa20
mov eax, dword [ebp - 0x224]
xor edx, edx
call fcn.00404c1c
jne 0x51c6fd
mov edx, 0x51d828
mov eax, dword [ebx + 0x304]
call fcn.0048b208
jmp 0x51d739
cmp byte [esi + 0x2008], 0
je 0x51c71d
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c71d
call fcn.005132f8
cmp byte [esi + 0x2009], 0
je 0x51c73d
mov eax, dword [ebx + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c73d
call fcn.00512188
cmp byte [esi + 0x200a], 0
je 0x51c75d
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c75d
call fcn.005123b8
cmp byte [esi + 0x200b], 0
je 0x51c77d
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c77d
call fcn.00512600
cmp byte [esi + 0x200c], 0
je 0x51c79d
mov eax, dword [ebx + 0x370]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c79d
call fcn.0051284c
cmp byte [esi + 0x200d], 0
je 0x51c7bd
mov eax, dword [ebx + 0x374]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c7bd
call fcn.00512a78
cmp byte [esi + 0x200e], 0
je 0x51c7dd
mov eax, dword [ebx + 0x378]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c7dd
call fcn.00512c84
cmp byte [esi + 0x200f], 0
je 0x51c7fd
mov eax, dword [ebx + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c7fd
call fcn.00512ea0
cmp byte [esi + 0x2010], 0
je 0x51c81d
mov eax, dword [ebx + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c81d
call fcn.005130d0
cmp byte [esi + 0x2011], 0
je 0x51c973
mov eax, dword [ebx + 0x308]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x334]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x340]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
mov eax, dword [ebx + 0x344]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c973
call fcn.00511f58
lea edx, [ebp - 0x228]
mov eax, dword [ebx + 0x3b0]
call fcn.0048aa20
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x74]
call fcn.00409168
mov eax, dword [ebx + 0x360]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 2], al
cmp byte [esi + 0x2018], 0
je 0x51c9b5
mov al, byte [esi + 0x2019]
mov byte [ebp - 2], al
mov eax, dword [ebx + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 3], al
mov eax, ebx
call fcn.005206ac
cmp byte [ebp - 3], 0
je 0x51c9eb
mov eax, dword [ebx + 0x354]
mov edx, dword [eax + 0x210]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x214]
mov dword [ebp - 0xc], edx
cmp byte [esi + 0x202c], 0
je 0x51cab2
cmp byte [esi + 0x202d], 0
je 0x51ca1b
mov eax, dword [esi + 0x2030]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x2034]
mov dword [ebp - 0x84], eax
jmp 0x51ca97
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x203c]
sub eax, 1
jb 0x51ca39
je 0x51ca59
dec eax
je 0x51ca79
jmp 0x51ca97
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51ca97
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51ca97
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0047cd14
fstp qword [ebp - 0x88]
wait
mov al, byte [esi + 0x202b]
mov byte [ebp - 3], al
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00520730
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x51cae8
mov eax, dword [ebx + 0x368]
mov edx, dword [eax + 0x210]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x214]
mov dword [ebp - 0x1c], edx
cmp byte [esi + 0x2061], 0
je 0x51cbaf
cmp byte [esi + 0x2062], 0
je 0x51cb18
mov eax, dword [esi + 0x2068]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x206c]
mov dword [ebp - 0x84], eax
jmp 0x51cb94
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x2074]
sub eax, 1
jb 0x51cb36
je 0x51cb56
dec eax
je 0x51cb76
jmp 0x51cb94
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51cb94
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51cb94
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0047cd14
fstp qword [ebp - 0x88]
wait
mov al, byte [esi + 0x2060]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, ebx
call fcn.005207b4
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x51cbe5
mov eax, dword [ebx + 0x36c]
mov edx, dword [eax + 0x210]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x214]
mov dword [ebp - 0x2c], edx
cmp byte [esi + 0x2099], 0
je 0x51ccac
cmp byte [esi + 0x209a], 0
je 0x51cc15
mov eax, dword [esi + 0x20a0]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x20a4]
mov dword [ebp - 0x84], eax
jmp 0x51cc91
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x20ac]
sub eax, 1
jb 0x51cc33
je 0x51cc53
dec eax
je 0x51cc73
jmp 0x51cc91
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51cc91
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51cc91
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0047cd14
fstp qword [ebp - 0x88]
wait
mov al, byte [esi + 0x2098]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
je 0x51cce1
mov eax, dword [ebx + 0x398]
mov edx, dword [eax]
call dword [edx + 0xcc]
lea eax, [eax + eax*4]
mov edx, dword [0x5338b0]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x38], eax
cmp byte [esi + 0x20f1], 0
je 0x51cd09
mov al, byte [esi + 0x20f0]
mov byte [ebp - 0x31], al
mov eax, dword [esi + 0x20f4]
lea eax, [eax + eax*4]
mov edx, dword [0x5338b0]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x370]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x39], 0
je 0x51cd2e
mov eax, dword [ebx + 0x380]
call fcn.004e372c
mov dword [ebp - 0x40], eax
cmp byte [esi + 0x20d3], 0
je 0x51cd49
mov al, byte [esi + 0x20d2]
mov byte [ebp - 0x39], al
mov eax, dword [esi + 0x20d4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x374]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x51cd6e
mov eax, dword [ebx + 0x384]
call fcn.004e372c
mov dword [ebp - 0x48], eax
cmp byte [esi + 0x20d9], 0
je 0x51cd89
mov al, byte [esi + 0x20d8]
mov byte [ebp - 0x41], al
mov eax, dword [esi + 0x20dc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x378]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x51cdae
mov eax, dword [ebx + 0x388]
call fcn.004e372c
mov dword [ebp - 0x50], eax
cmp byte [esi + 0x20e1], 0
je 0x51cdc9
mov al, byte [esi + 0x20e0]
mov byte [ebp - 0x49], al
mov eax, dword [esi + 0x20e4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x51], al
cmp byte [ebp - 0x51], 0
je 0x51cdee
mov eax, dword [ebx + 0x38c]
call fcn.004e372c
mov dword [ebp - 0x58], eax
cmp byte [esi + 0x20e9], 0
je 0x51ce09
mov al, byte [esi + 0x20e8]
mov byte [ebp - 0x51], al
mov eax, dword [esi + 0x20ec]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x308]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x59], al
mov eax, dword [ebx + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5a], al
mov eax, dword [ebx + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5b], al
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5c], al
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5d], al
mov eax, dword [ebx + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5e], al
mov eax, dword [ebx + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x5f], al
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x60], al
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x61], al
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x62], al
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x63], al
mov eax, dword [ebx + 0x334]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x64], al
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x65], al
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x66], al
mov eax, dword [ebx + 0x340]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x67], al
mov eax, dword [ebx + 0x344]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x68], al
cmp byte [esi + 0x201a], 0
je 0x51cfb6
mov al, byte [esi + 0x201b]
mov byte [ebp - 0x59], al
mov al, byte [esi + 0x201c]
mov byte [ebp - 0x5a], al
mov al, byte [esi + 0x201d]
mov byte [ebp - 0x5b], al
mov al, byte [esi + 0x201e]
mov byte [ebp - 0x5c], al
mov al, byte [esi + 0x201f]
mov byte [ebp - 0x5d], al
mov al, byte [esi + 0x2020]
mov byte [ebp - 0x5e], al
mov al, byte [esi + 0x2021]
mov byte [ebp - 0x5f], al
mov al, byte [esi + 0x2022]
mov byte [ebp - 0x60], al
mov al, byte [esi + 0x2023]
mov byte [ebp - 0x61], al
mov al, byte [esi + 0x2024]
mov byte [ebp - 0x62], al
mov al, byte [esi + 0x2025]
mov byte [ebp - 0x63], al
mov al, byte [esi + 0x2026]
mov byte [ebp - 0x64], al
mov al, byte [esi + 0x2027]
mov byte [ebp - 0x65], al
mov al, byte [esi + 0x2028]
mov byte [ebp - 0x66], al
mov al, byte [esi + 0x2029]
mov byte [ebp - 0x67], al
mov al, byte [esi + 0x202a]
mov byte [ebp - 0x68], al
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x69], al
cmp byte [ebp - 0x69], 0
je 0x51cfec
lea edx, [ebp - 0x22c]
mov eax, dword [ebx + 0x35c]
call fcn.0048aa20
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x70]
call fcn.0040441c
cmp byte [esi + 0x20d1], 0
jne 0x51cffe
mov al, byte [esi + 0x20d0]
mov byte [ebp - 0x69], al
cmp byte [ebx + 0x436], 0
je 0x51d404
lea eax, [ebp - 0x214]
mov edx, 0xc4
call fcn.004077e4
lea eax, [ebp - 0x7c]
mov edx, 0x800
call fcn.00404e68
mov eax, dword [ebp - 0x7c]
call fcn.00404b04
mov edx, eax
add edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.004077e4
mov eax, dword [ebx + 0x420]
mov dword [ebp - 0x214], eax
mov eax, dword [ebx + 0x424]
mov dword [ebp - 0x210], eax
mov eax, dword [ebx + 0x428]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x230]
mov edx, dword [ebx + 0x418]
call fcn.00404a78
mov eax, dword [ebp - 0x230]
call fcn.00404af4
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x234]
mov edx, dword [ebx + 0x41c]
call fcn.00404a78
mov eax, dword [ebp - 0x234]
call fcn.00404af4
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x7c]
call fcn.00404b04
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x74]
call fcn.00404af4
mov dword [ebp - 0x200], eax
cmp byte [ebp - 2], 1
cmc
sbb eax, eax
mov dword [ebp - 0x20c], eax
cmp byte [ebp - 3], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
je 0x51d128
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cb88
movzx eax, ax
mov dword [ebp - 0x1f8], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cbac
movzx eax, ax
mov dword [ebp - 0x1f4], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cbd0
movzx eax, ax
mov dword [ebp - 0x1f0], eax
cmp byte [ebp - 0x11], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
je 0x51d17a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cb88
movzx eax, ax
mov dword [ebp - 0x1b8], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cbac
movzx eax, ax
mov dword [ebp - 0x1b4], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cbd0
movzx eax, ax
mov dword [ebp - 0x1b0], eax
cmp byte [ebp - 0x21], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x51d1cc
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cb88
movzx eax, ax
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cbac
movzx eax, ax
mov dword [ebp - 0x1a4], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cbd0
movzx eax, ax
mov dword [ebp - 0x1a0], eax
cmp byte [ebp - 0x31], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
je 0x51d1eb
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c0], eax
cmp byte [ebp - 0x39], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x51d20a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1e0], eax
cmp byte [ebp - 0x41], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x51d229
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1d8], eax
cmp byte [ebp - 0x49], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
je 0x51d248
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1d0], eax
cmp byte [ebp - 0x51], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
je 0x51d267
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c8], eax
cmp byte [ebp - 0x59], 1
cmc
sbb eax, eax
mov dword [ebp - 0x198], eax
cmp byte [ebp - 0x5a], 1
cmc
sbb eax, eax
mov dword [ebp - 0x194], eax
cmp byte [ebp - 0x5b], 1
cmc
sbb eax, eax
mov dword [ebp - 0x190], eax
cmp byte [ebp - 0x5c], 1
cmc
sbb eax, eax
mov dword [ebp - 0x18c], eax
cmp byte [ebp - 0x5d], 1
cmc
sbb eax, eax
mov dword [ebp - 0x188], eax
cmp byte [ebp - 0x5e], 1
cmc
sbb eax, eax
mov dword [ebp - 0x184], eax
cmp byte [ebp - 0x5f], 1
cmc
sbb eax, eax
mov dword [ebp - 0x180], eax
cmp byte [ebp - 0x60], 1
cmc
sbb eax, eax
mov dword [ebp - 0x17c], eax
cmp byte [ebp - 0x61], 1
cmc
sbb eax, eax
mov dword [ebp - 0x178], eax
cmp byte [ebp - 0x62], 1
cmc
sbb eax, eax
mov dword [ebp - 0x174], eax
cmp byte [ebp - 0x63], 1
cmc
sbb eax, eax
mov dword [ebp - 0x170], eax
cmp byte [ebp - 0x64], 1
cmc
sbb eax, eax
mov dword [ebp - 0x16c], eax
cmp byte [ebp - 0x65], 1
cmc
sbb eax, eax
mov dword [ebp - 0x168], eax
cmp byte [ebp - 0x66], 1
cmc
sbb eax, eax
mov dword [ebp - 0x164], eax
cmp byte [ebp - 0x67], 1
cmc
sbb eax, eax
mov dword [ebp - 0x160], eax
cmp byte [ebp - 0x68], 1
cmc
sbb eax, eax
mov dword [ebp - 0x15c], eax
cmp byte [ebp - 0x69], 1
cmc
sbb eax, eax
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x51d36c
lea eax, [ebp - 0x238]
mov edx, dword [ebp - 0x70]
call fcn.00404a78
mov eax, dword [ebp - 0x238]
call fcn.00404af4
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x214]
call fcn.004bdd58
mov esi, eax
test esi, esi
jne 0x51d3ca
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x208]
call fcn.00404a08
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
call fcn.0040441c
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
call fcn.00404a78
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebx + 0x304]
call fcn.0048b208
mov byte [ebp - 1], 1
jmp 0x51d739
lea edx, [ebp - 0x24c]
mov eax, esi
call fcn.004bb198
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
call fcn.00404a78
mov edx, dword [ebp - 0x248]
mov eax, dword [ebx + 0x304]
mov eax, dword [eax + 0x230]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x51d739
mov eax, edi
mov edx, 0xc4
call fcn.004077e4
lea eax, [ebp - 0x78]
mov edx, 0x800
call fcn.004047e0
mov eax, dword [ebp - 0x78]
call fcn.00404454
mov edx, eax
mov eax, dword [ebp - 0x78]
call fcn.004077e4
mov eax, dword [ebx + 0x420]
mov dword [edi], eax
mov eax, dword [ebx + 0x424]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x428]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x418]
call fcn.00404654
mov dword [edi + 0xbc], eax
mov eax, dword [ebx + 0x41c]
call fcn.00404654
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x78]
call fcn.00404454
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 0x74]
call fcn.0040441c
mov eax, dword [ebp - 0x250]
call fcn.00404654
mov dword [edi + 0x14], eax
cmp byte [ebp - 2], 1
cmc
sbb eax, eax
mov dword [edi + 8], eax
cmp byte [ebp - 3], 1
cmc
sbb eax, eax
mov dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
je 0x51d4e5
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cb88
movzx eax, ax
mov dword [edi + 0x1c], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cbac
movzx eax, ax
mov dword [edi + 0x20], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047cbd0
movzx eax, ax
mov dword [edi + 0x24], eax
cmp byte [ebp - 0x11], 1
cmc
sbb eax, eax
mov dword [edi + 0x58], eax
cmp dword [edi + 0x58], 0
je 0x51d528
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cb88
movzx eax, ax
mov dword [edi + 0x5c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cbac
movzx eax, ax
mov dword [edi + 0x60], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047cbd0
movzx eax, ax
mov dword [edi + 0x64], eax
cmp byte [ebp - 0x21], 1
cmc
sbb eax, eax
mov dword [edi + 0x68], eax
cmp dword [edi + 0x68], 0
je 0x51d56b
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cb88
movzx eax, ax
mov dword [edi + 0x6c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cbac
movzx eax, ax
mov dword [edi + 0x70], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047cbd0
movzx eax, ax
mov dword [edi + 0x74], eax
cmp byte [ebp - 0x31], 1
cmc
sbb eax, eax
mov dword [edi + 0x50], eax
cmp dword [edi + 0x50], 0
je 0x51d581
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x54], eax
cmp byte [ebp - 0x39], 1
cmc
sbb eax, eax
mov dword [edi + 0x30], eax
cmp dword [edi + 0x30], 0
je 0x51d597
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x34], eax
cmp byte [ebp - 0x41], 1
cmc
sbb eax, eax
mov dword [edi + 0x38], eax
cmp dword [edi + 0x38], 0
je 0x51d5ad
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x3c], eax
cmp byte [ebp - 0x49], 1
cmc
sbb eax, eax
mov dword [edi + 0x40], eax
cmp dword [edi + 0x40], 0
je 0x51d5c3
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x44], eax
cmp byte [ebp - 0x51], 1
cmc
sbb eax, eax
mov dword [edi + 0x48], eax
cmp dword [edi + 0x48], 0
je 0x51d5d9
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x4c], eax
cmp byte [ebp - 0x59], 1
cmc
sbb eax, eax
mov dword [edi + 0x7c], eax
cmp byte [ebp - 0x5a], 1
cmc
sbb eax, eax
mov dword [edi + 0x80], eax
cmp byte [ebp - 0x5b], 1
cmc
sbb eax, eax
mov dword [edi + 0x84], eax
cmp byte [ebp - 0x5c], 1
cmc
sbb eax, eax
mov dword [edi + 0x88], eax
cmp byte [ebp - 0x5d], 1
cmc
sbb eax, eax
mov dword [edi + 0x8c], eax
cmp byte [ebp - 0x5e], 1
cmc
sbb eax, eax
mov dword [edi + 0x90], eax
cmp byte [ebp - 0x5f], 1
cmc
sbb eax, eax
mov dword [edi + 0x94], eax
cmp byte [ebp - 0x60], 1
cmc
sbb eax, eax
mov dword [edi + 0x98], eax
cmp byte [ebp - 0x61], 1
cmc
sbb eax, eax
mov dword [edi + 0x9c], eax
cmp byte [ebp - 0x62], 1
cmc
sbb eax, eax
mov dword [edi + 0xa0], eax
cmp byte [ebp - 0x63], 1
cmc
sbb eax, eax
mov dword [edi + 0xa4], eax
cmp byte [ebp - 0x64], 1
cmc
sbb eax, eax
mov dword [edi + 0xa8], eax
cmp byte [ebp - 0x65], 1
cmc
sbb eax, eax
mov dword [edi + 0xac], eax
cmp byte [ebp - 0x66], 1
cmc
sbb eax, eax
mov dword [edi + 0xb0], eax
cmp byte [ebp - 0x67], 1
cmc
sbb eax, eax
mov dword [edi + 0xb4], eax
cmp byte [ebp - 0x68], 1
cmc
sbb eax, eax
mov dword [edi + 0xb8], eax
cmp byte [ebp - 0x69], 1
cmc
sbb eax, eax
mov dword [edi + 0x28], eax
cmp dword [edi + 0x28], 0
je 0x51d6c1
mov eax, dword [ebp - 0x70]
call fcn.00404654
mov dword [edi + 0x2c], eax
mov eax, edi
call fcn.004bdba0
mov esi, eax
test esi, esi
jne 0x51d704
lea eax, [ebp - 0x258]
mov edx, dword [edi + 0xc]
call fcn.0040438c
mov edx, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
call fcn.00404a78
mov edx, dword [ebp - 0x254]
mov eax, dword [ebx + 0x304]
call fcn.0048b208
mov byte [ebp - 1], 1
jmp 0x51d739
lea edx, [ebp - 0x260]
mov eax, esi
call fcn.004bb198
mov edx, dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
call fcn.00404a78
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebx + 0x304]
mov eax, dword [eax + 0x230]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d7e3
lea eax, [ebp - 0x260]
call fcn.00404184
lea eax, [ebp - 0x25c]
call fcn.004048a0
lea eax, [ebp - 0x258]
call fcn.00404184
lea eax, [ebp - 0x254]
call fcn.004048a0
lea eax, [ebp - 0x250]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.004048b8
lea eax, [ebp - 0x240]
call fcn.00404184
lea eax, [ebp - 0x23c]
mov edx, 0xa
call fcn.004048b8
lea eax, [ebp - 0x8c]
call fcn.004048a0
lea eax, [ebp - 0x7c]
call fcn.004048a0
lea eax, [ebp - 0x78]
call fcn.00404184
lea eax, [ebp - 0x74]
call fcn.004048a0
lea eax, [ebp - 0x70]
call fcn.00404184
ret