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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4c
push 0
push 0
dec ecx
jne 0x51c584
push ebx
push esi
push edi
mov ebx, eax
lea edi, [ebp - 0x150]
xor eax, eax
push ebp
push 0x51d749
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov esi, dword [0x533740]
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 0x51c626
mov edx, 0x51d764
mov eax, dword [ebx + 0x304]
call fcn.0048b208
jmp 0x51d6a9
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x51c66d
lea edx, [ebp - 0x224]
mov eax, dword [ebx + 0x35c]
call fcn.0048aa20
mov eax, dword [ebp - 0x224]
xor edx, edx
call fcn.00404c1c
jne 0x51c66d
mov edx, 0x51d798
mov eax, dword [ebx + 0x304]
call fcn.0048b208
jmp 0x51d6a9
cmp byte [esi + 0x2008], 0
je 0x51c68d
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c68d
call fcn.005132f8
cmp byte [esi + 0x2009], 0
je 0x51c6ad
mov eax, dword [ebx + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c6ad
call fcn.00512188
cmp byte [esi + 0x200a], 0
je 0x51c6cd
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c6cd
call fcn.005123b8
cmp byte [esi + 0x200b], 0
je 0x51c6ed
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c6ed
call fcn.00512600
cmp byte [esi + 0x200c], 0
je 0x51c70d
mov eax, dword [ebx + 0x370]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c70d
call fcn.0051284c
cmp byte [esi + 0x200d], 0
je 0x51c72d
mov eax, dword [ebx + 0x374]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c72d
call fcn.00512a78
cmp byte [esi + 0x200e], 0
je 0x51c74d
mov eax, dword [ebx + 0x378]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c74d
call fcn.00512c84
cmp byte [esi + 0x200f], 0
je 0x51c76d
mov eax, dword [ebx + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c76d
call fcn.00512ea0
cmp byte [esi + 0x2010], 0
je 0x51c78d
mov eax, dword [ebx + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c78d
call fcn.005130d0
cmp byte [esi + 0x2011], 0
je 0x51c8e3
mov eax, dword [ebx + 0x308]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x334]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x340]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
mov eax, dword [ebx + 0x344]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51c8e3
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 0x51c925
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.0052061c
cmp byte [ebp - 3], 0
je 0x51c95b
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 0x51ca22
cmp byte [esi + 0x202d], 0
je 0x51c98b
mov eax, dword [esi + 0x2030]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x2034]
mov dword [ebp - 0x84], eax
jmp 0x51ca07
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x203c]
sub eax, 1
jb 0x51c9a9
je 0x51c9c9
dec eax
je 0x51c9e9
jmp 0x51ca07
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51ca07
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51ca07
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.005206a0
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x51ca58
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 0x51cb1f
cmp byte [esi + 0x2062], 0
je 0x51ca88
mov eax, dword [esi + 0x2068]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x206c]
mov dword [ebp - 0x84], eax
jmp 0x51cb04
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x2074]
sub eax, 1
jb 0x51caa6
je 0x51cac6
dec eax
je 0x51cae6
jmp 0x51cb04
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51cb04
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51cb04
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.00520724
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x51cb55
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 0x51cc1c
cmp byte [esi + 0x209a], 0
je 0x51cb85
mov eax, dword [esi + 0x20a0]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x20a4]
mov dword [ebp - 0x84], eax
jmp 0x51cc01
call fcn.0040b8ec
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x20ac]
sub eax, 1
jb 0x51cba3
je 0x51cbc3
dec eax
je 0x51cbe3
jmp 0x51cc01
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0047cd5c
fstp qword [ebp - 0x88]
wait
jmp 0x51cc01
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0040b93c
fstp qword [ebp - 0x88]
wait
jmp 0x51cc01
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 0x51cc51
mov eax, dword [ebx + 0x398]
mov edx, dword [eax]
call dword [edx + 0xcc]
lea eax, [eax + eax*4]
mov edx, dword [0x5338a0]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x38], eax
cmp byte [esi + 0x20f1], 0
je 0x51cc79
mov al, byte [esi + 0x20f0]
mov byte [ebp - 0x31], al
mov eax, dword [esi + 0x20f4]
lea eax, [eax + eax*4]
mov edx, dword [0x5338a0]
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 0x51cc9e
mov eax, dword [ebx + 0x380]
call fcn.004e372c
mov dword [ebp - 0x40], eax
cmp byte [esi + 0x20d3], 0
je 0x51ccb9
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 0x51ccde
mov eax, dword [ebx + 0x384]
call fcn.004e372c
mov dword [ebp - 0x48], eax
cmp byte [esi + 0x20d9], 0
je 0x51ccf9
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 0x51cd1e
mov eax, dword [ebx + 0x388]
call fcn.004e372c
mov dword [ebp - 0x50], eax
cmp byte [esi + 0x20e1], 0
je 0x51cd39
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 0x51cd5e
mov eax, dword [ebx + 0x38c]
call fcn.004e372c
mov dword [ebp - 0x58], eax
cmp byte [esi + 0x20e9], 0
je 0x51cd79
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 0x51cf26
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 0x51cf5c
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 0x51cf6e
mov al, byte [esi + 0x20d0]
mov byte [ebp - 0x69], al
cmp byte [ebx + 0x436], 0
je 0x51d374
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 0x51d098
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 0x51d0ea
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 0x51d13c
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 0x51d15b
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 0x51d17a
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 0x51d199
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 0x51d1b8
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 0x51d1d7
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 0x51d2dc
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 0x51d33a
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 0x51d6a9
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 0x51d6a9
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 0x51d455
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 0x51d498
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 0x51d4db
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 0x51d4f1
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 0x51d507
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 0x51d51d
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 0x51d533
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 0x51d549
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 0x51d631
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 0x51d674
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 0x51d6a9
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 0x51d753
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