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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4c
push 0
push 0
dec ecx
jne 0x51eca4
push ebx
push esi
push edi
mov ebx, eax
lea edi, [ebp - 0x150]
xor eax, eax
push ebp
push 0x51fe69
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov esi, dword [0x5350f4]
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.0048b48c
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00409640
mov edx, dword [ebp - 0x218]
mov eax, dword [ebx + 0x3b0]
call fcn.0048b4a0
lea edx, [ebp - 0x220]
mov eax, dword [ebx + 0x3b0]
call fcn.0048b48c
mov eax, dword [ebp - 0x220]
xor edx, edx
call fcn.00404ff0
jne 0x51ed46
mov edx, 0x51fe84
mov eax, dword [ebx + 0x304]
call fcn.0048bcb4
jmp 0x51fdc9
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x51ed8d
lea edx, [ebp - 0x224]
mov eax, dword [ebx + 0x35c]
call fcn.0048b48c
mov eax, dword [ebp - 0x224]
xor edx, edx
call fcn.00404ff0
jne 0x51ed8d
mov edx, 0x51feb8
mov eax, dword [ebx + 0x304]
call fcn.0048bcb4
jmp 0x51fdc9
cmp byte [esi + 0x2008], 0
je 0x51edad
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51edad
call fcn.00516818
cmp byte [esi + 0x2009], 0
je 0x51edcd
mov eax, dword [ebx + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51edcd
call fcn.005156a8
cmp byte [esi + 0x200a], 0
je 0x51eded
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51eded
call fcn.005158d8
cmp byte [esi + 0x200b], 0
je 0x51ee0d
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51ee0d
call fcn.00515b20
cmp byte [esi + 0x200c], 0
je 0x51ee2d
mov eax, dword [ebx + 0x370]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51ee2d
call fcn.00515d6c
cmp byte [esi + 0x200d], 0
je 0x51ee4d
mov eax, dword [ebx + 0x374]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51ee4d
call fcn.00515f98
cmp byte [esi + 0x200e], 0
je 0x51ee6d
mov eax, dword [ebx + 0x378]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51ee6d
call fcn.005161a4
cmp byte [esi + 0x200f], 0
je 0x51ee8d
mov eax, dword [ebx + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51ee8d
call fcn.005163c0
cmp byte [esi + 0x2010], 0
je 0x51eead
mov eax, dword [ebx + 0x3a8]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51eead
call fcn.005165f0
cmp byte [esi + 0x2011], 0
je 0x51f003
mov eax, dword [ebx + 0x308]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x334]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x33c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x340]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
mov eax, dword [ebx + 0x344]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x51f003
call fcn.00515478
lea edx, [ebp - 0x228]
mov eax, dword [ebx + 0x3b0]
call fcn.0048b48c
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x74]
call fcn.00409640
mov eax, dword [ebx + 0x360]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 2], al
cmp byte [esi + 0x2018], 0
je 0x51f045
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.00522d3c
cmp byte [ebp - 3], 0
je 0x51f07b
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 0x51f142
cmp byte [esi + 0x202d], 0
je 0x51f0ab
mov eax, dword [esi + 0x2030]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x2034]
mov dword [ebp - 0x84], eax
jmp 0x51f127
call fcn.0040be78
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x203c]
sub eax, 1
jb 0x51f0c9
je 0x51f0e9
dec eax
je 0x51f109
jmp 0x51f127
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0047d748
fstp qword [ebp - 0x88]
wait
jmp 0x51f127
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0040bec8
fstp qword [ebp - 0x88]
wait
jmp 0x51f127
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2038]
call fcn.0047d700
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.00522dc0
mov eax, dword [ebx + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x51f178
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 0x51f23f
cmp byte [esi + 0x2062], 0
je 0x51f1a8
mov eax, dword [esi + 0x2068]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x206c]
mov dword [ebp - 0x84], eax
jmp 0x51f224
call fcn.0040be78
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x2074]
sub eax, 1
jb 0x51f1c6
je 0x51f1e6
dec eax
je 0x51f206
jmp 0x51f224
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0047d748
fstp qword [ebp - 0x88]
wait
jmp 0x51f224
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0040bec8
fstp qword [ebp - 0x88]
wait
jmp 0x51f224
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x2070]
call fcn.0047d700
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.00522e44
mov eax, dword [ebx + 0x3a4]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x51f275
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 0x51f33c
cmp byte [esi + 0x209a], 0
je 0x51f2a5
mov eax, dword [esi + 0x20a0]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x20a4]
mov dword [ebp - 0x84], eax
jmp 0x51f321
call fcn.0040be78
fstp qword [ebp - 0x88]
wait
mov eax, dword [esi + 0x20ac]
sub eax, 1
jb 0x51f2c3
je 0x51f2e3
dec eax
je 0x51f303
jmp 0x51f321
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0047d748
fstp qword [ebp - 0x88]
wait
jmp 0x51f321
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0040bec8
fstp qword [ebp - 0x88]
wait
jmp 0x51f321
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov eax, dword [esi + 0x20a8]
call fcn.0047d700
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 0x51f371
mov eax, dword [ebx + 0x398]
mov edx, dword [eax]
call dword [edx + 0xcc]
lea eax, [eax + eax*4]
mov edx, dword [0x535258]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x38], eax
cmp byte [esi + 0x20f1], 0
je 0x51f399
mov al, byte [esi + 0x20f0]
mov byte [ebp - 0x31], al
mov eax, dword [esi + 0x20f4]
lea eax, [eax + eax*4]
mov edx, dword [0x535258]
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 0x51f3be
mov eax, dword [ebx + 0x380]
call fcn.004e42c0
mov dword [ebp - 0x40], eax
cmp byte [esi + 0x20d3], 0
je 0x51f3d9
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 0x51f3fe
mov eax, dword [ebx + 0x384]
call fcn.004e42c0
mov dword [ebp - 0x48], eax
cmp byte [esi + 0x20d9], 0
je 0x51f419
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 0x51f43e
mov eax, dword [ebx + 0x388]
call fcn.004e42c0
mov dword [ebp - 0x50], eax
cmp byte [esi + 0x20e1], 0
je 0x51f459
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 0x51f47e
mov eax, dword [ebx + 0x38c]
call fcn.004e42c0
mov dword [ebp - 0x58], eax
cmp byte [esi + 0x20e9], 0
je 0x51f499
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 0x51f646
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 0x51f67c
lea edx, [ebp - 0x22c]
mov eax, dword [ebx + 0x35c]
call fcn.0048b48c
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x70]
call fcn.004047ec
cmp byte [esi + 0x20d1], 0
jne 0x51f68e
mov al, byte [esi + 0x20d0]
mov byte [ebp - 0x69], al
cmp byte [ebx + 0x436], 0
je 0x51fa94
lea eax, [ebp - 0x214]
mov edx, 0xc4
call fcn.00407c84
lea eax, [ebp - 0x7c]
mov edx, 0x800
call fcn.0040523c
mov eax, dword [ebp - 0x7c]
call fcn.00404ed4
mov edx, eax
add edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.00407c84
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.00404e48
mov eax, dword [ebp - 0x230]
call fcn.00404ec4
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x234]
mov edx, dword [ebx + 0x41c]
call fcn.00404e48
mov eax, dword [ebp - 0x234]
call fcn.00404ec4
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x7c]
call fcn.00404ed4
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x74]
call fcn.00404ec4
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 0x51f7b8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d574
movzx eax, ax
mov dword [ebp - 0x1f8], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d598
movzx eax, ax
mov dword [ebp - 0x1f4], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d5bc
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 0x51f80a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d574
movzx eax, ax
mov dword [ebp - 0x1b8], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d598
movzx eax, ax
mov dword [ebp - 0x1b4], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d5bc
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 0x51f85c
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d574
movzx eax, ax
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d598
movzx eax, ax
mov dword [ebp - 0x1a4], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d5bc
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 0x51f87b
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 0x51f89a
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 0x51f8b9
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 0x51f8d8
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 0x51f8f7
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 0x51f9fc
lea eax, [ebp - 0x238]
mov edx, dword [ebp - 0x70]
call fcn.00404e48
mov eax, dword [ebp - 0x238]
call fcn.00404ec4
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x214]
call fcn.004be52c
mov esi, eax
test esi, esi
jne 0x51fa5a
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x208]
call fcn.00404dd8
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
call fcn.004047ec
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
call fcn.00404e48
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebx + 0x304]
call fcn.0048bcb4
mov byte [ebp - 1], 1
jmp 0x51fdc9
lea edx, [ebp - 0x24c]
mov eax, esi
call fcn.004bb990
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
call fcn.00404e48
mov edx, dword [ebp - 0x248]
mov eax, dword [ebx + 0x304]
mov eax, dword [eax + 0x230]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x51fdc9
mov eax, edi
mov edx, 0xc4
call fcn.00407c84
lea eax, [ebp - 0x78]
mov edx, 0x800
call fcn.00404bb0
mov eax, dword [ebp - 0x78]
call fcn.00404824
mov edx, eax
mov eax, dword [ebp - 0x78]
call fcn.00407c84
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.00404a24
mov dword [edi + 0xbc], eax
mov eax, dword [ebx + 0x41c]
call fcn.00404a24
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x78]
call fcn.00404824
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 0x74]
call fcn.004047ec
mov eax, dword [ebp - 0x250]
call fcn.00404a24
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 0x51fb75
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d574
movzx eax, ax
mov dword [edi + 0x1c], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d598
movzx eax, ax
mov dword [edi + 0x20], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0047d5bc
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 0x51fbb8
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d574
movzx eax, ax
mov dword [edi + 0x5c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d598
movzx eax, ax
mov dword [edi + 0x60], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d5bc
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 0x51fbfb
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d574
movzx eax, ax
mov dword [edi + 0x6c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d598
movzx eax, ax
mov dword [edi + 0x70], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d5bc
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 0x51fc11
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 0x51fc27
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 0x51fc3d
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 0x51fc53
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 0x51fc69
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 0x51fd51
mov eax, dword [ebp - 0x70]
call fcn.00404a24
mov dword [edi + 0x2c], eax
mov eax, edi
call fcn.004be374
mov esi, eax
test esi, esi
jne 0x51fd94
lea eax, [ebp - 0x258]
mov edx, dword [edi + 0xc]
call fcn.0040475c
mov edx, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
call fcn.00404e48
mov edx, dword [ebp - 0x254]
mov eax, dword [ebx + 0x304]
call fcn.0048bcb4
mov byte [ebp - 1], 1
jmp 0x51fdc9
lea edx, [ebp - 0x260]
mov eax, esi
call fcn.004bb990
mov edx, dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
call fcn.00404e48
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 0x51fe73
lea eax, [ebp - 0x260]
call fcn.00404554
lea eax, [ebp - 0x25c]
call fcn.00404c70
lea eax, [ebp - 0x258]
call fcn.00404554
lea eax, [ebp - 0x254]
call fcn.00404c70
lea eax, [ebp - 0x250]
mov edx, 2
call fcn.00404578
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00404c88
lea eax, [ebp - 0x240]
call fcn.00404554
lea eax, [ebp - 0x23c]
mov edx, 0xa
call fcn.00404c88
lea eax, [ebp - 0x8c]
call fcn.00404c70
lea eax, [ebp - 0x7c]
call fcn.00404c70
lea eax, [ebp - 0x78]
call fcn.00404554
lea eax, [ebp - 0x74]
call fcn.00404c70
lea eax, [ebp - 0x70]
call fcn.00404554
ret