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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cc39b
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0
push esi
push edi
je 0x51c37e
cmp byte [ebx + 0x1f1], 0
jne 0x51c37e
lea esi, [ebx + 0x1ac]
mov byte [ebx + 0x1f1], 1
cmp dword [esi + 0x14], 0x10
jb 0x51b755
mov eax, dword [esi]
jmp 0x51b757
mov eax, esi
cmp byte [eax], 0x20
je 0x51c321
mov ecx, 0x639604
mov edi, esi
call fcn.0040e930
test al, al
jne 0x51c321
mov ecx, dword [ebx + 0x134]
xor edi, edi
cmp ecx, edi
je 0x51c2e3
mov eax, dword [ebx + 0x138]
cmp eax, edi
je 0x51c2e3
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x114], edi
cmp byte [ebx + 0x1f0], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
je 0x51b930
mov dword [esp + 0xb0], vtable.CFile.0
mov dword [esp + 0xf0], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov byte [esp + 0x114], 1
cmp dword [esi + 0x14], 0x10
jb 0x51b7ea
mov esi, dword [esi]
push eax
push ecx
push esi
push str.Gaiji_s_02d_02d.fil
lea edx, [esp + 0x6c]
call fcn.00437700
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
call fcn.00401530
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x118], 2
mov edx, dword [0x692f04]
push ecx
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.004f8740
lea ecx, [esp + 0x94]
mov byte [esp + 0x3b], al
mov byte [esp + 0x114], 1
call fcn.00429f70
cmp byte [esp + 0x3b], 0
je 0x51b8ec
lea esi, [esp + 0xb0]
call fcn.004f8270
mov dword [esp + 0x10], eax
call fcn.004f8270
mov dword [esp + 0x18], eax
imul eax, dword [esp + 0x10]
lea esi, [esp + 0x70]
call fcn.00418e00
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
push edi
lea esi, [esp + 0xb4]
call fcn.004f7fd0
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x51b8c2
jmp 0x51b8b0
shr byte [edi + eax], 2
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
inc eax
cmp eax, edx
jl 0x51b8b0
xor eax, eax
lea esi, [esp + 0xb0]
mov dword [ebx + 0x1e0], eax
mov dword [ebx + 0x1e4], eax
mov dword [esp + 0xb0], vtable.CFile.0
call fcn.004f7ee0
jmp 0x51ba8c
lea eax, [esp + 0x5c]
push eax
call fcn.0046d410
add esp, 4
lea esi, [esp + 0xb0]
mov dword [esp + 0xb0], vtable.CFile.0
call fcn.004f7ee0
lea esi, [esp + 0x70]
call fcn.00402800
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x692c68]
push ecx
call dword [0x6102cc]
push 0x694058
push 0
push 2
push 0
push 7
push 0x80
push 0
push 0
mov edi, eax
mov eax, dword [ebx + 0x134]
push 0
push 0x384
cdq
push 0
sub eax, edx
mov edx, dword [ebx + 0x138]
push 0
sar eax, 1
push eax
push edx
call dword [0x610060]
push eax
push edi
mov dword [esp + 0x30], eax
call dword [0x610064]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb0]
push eax
push edi
call dword [0x610068]
cmp dword [esi + 0x14], 0x10
jb 0x51b9a0
mov esi, dword [esi]
push esi
call fcn.004903e6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0
lea edx, [esp + 0x68]
push edx
push 6
push eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], 0x10000
mov dword [esp + 0x74], 0x10000
call dword [0x61006c]
mov ebx, eax
test ebx, ebx
je 0x51c271
cmp ebx, 0xffffffff
je 0x51c271
lea esi, [esp + 0x70]
call fcn.00418e00
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x68]
push edx
push 6
push eax
push edi
call dword [0x61006c]
mov ecx, dword [esp + 0x20]
push ecx
push edi
call dword [0x610064]
mov edx, dword [0x692c68]
push edi
push edx
call dword [0x6102d0]
mov eax, dword [esp + 0x28]
push eax
call dword [0x610070]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [ebp + 8]
add ecx, 3
and ecx, 0xfffc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
mov dword [esp + 0x28], edx
call fcn.0051b480
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov dword [esi + 0x1e0], edx
mov dword [esi + 0x1e4], eax
mov ebx, esi
xor esi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x114], 3
mov eax, dword [0x69407c]
cmp eax, 1
jne 0x51bb33
mov eax, dword [esp + 0x10]
inc eax
imul eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x50]
push ecx
call fcn.00436c70
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x18], esi
jle 0x51bb25
xor esi, esi
test ecx, ecx
jle 0x51bb15
mov dword [esp + 0x14], 0x40
movzx edi, byte [edx]
movzx ecx, byte [eax]
add ecx, edi
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x14]
cmp ecx, 0x40
jg 0x51bb00
lea edi, [esp + 0x20]
movzx ecx, byte [edi]
mov byte [eax], cl
movzx ecx, byte [edx]
inc eax
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc esi
inc edx
cmp esi, ecx
jl 0x51bae7
mov esi, dword [esp + 0x24]
inc esi
inc eax
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x18]
jl 0x51bad9
mov edx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x2c], edx
jmp 0x51bbef
cmp eax, 2
jne 0x51bbe7
mov eax, dword [esp + 0x10]
add eax, 2
imul eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x50]
push ecx
call fcn.00436c70
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x18], esi
jle 0x51bbda
xor edi, edi
test ecx, ecx
jle 0x51bbc8
mov ecx, 0x40
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
movzx esi, byte [eax]
movzx ecx, byte [edx]
add ecx, esi
mov dword [esp + 0x20], ecx
lea esi, [esp + 0x14]
cmp ecx, 0x40
jg 0x51bb93
lea esi, [esp + 0x20]
mov cl, byte [esi]
mov byte [eax], cl
movzx esi, byte [eax + 1]
movzx ecx, byte [edx]
add ecx, esi
mov dword [esp + 0x20], ecx
lea esi, [esp + 0x28]
cmp ecx, 0x40
jg 0x51bbb1
lea esi, [esp + 0x20]
movzx ecx, byte [esi]
mov byte [eax + 1], cl
movzx ecx, byte [edx]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x10]
inc edi
inc eax
inc edx
cmp edi, ecx
jl 0x51bb7a
mov esi, dword [esp + 0x24]
inc esi
add eax, 2
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x18]
jl 0x51bb67
mov edx, dword [esp + 0x4c]
add ecx, 2
mov dword [esp + 0x2c], edx
jmp 0x51bbef
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [0x694080]
mov esi, dword [0x694084]
mov edx, dword [esp + 0x18]
lea eax, [esi + edi*2]
add ecx, eax
add edx, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, edx
imul eax, ecx
push 0xff
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x11c], 5
call fcn.00436c70
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x98]
push edx
call fcn.00436c70
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
imul ecx, edi
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
sub ecx, edi
cmp edi, ecx
jge 0x51bdba
mov dword [esp + 0x24], 0
nop
mov edx, eax
sub edx, dword [esp + 0x30]
sub edx, edi
cmp edi, edx
jge 0x51bd93
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x2c]
mov cl, byte [ecx]
test cl, cl
je 0x51bd6c
mov esi, dword [esp + 0x34]
movzx edx, cl
mov ecx, dword [esp + 0x24]
imul ecx, eax
lea edx, [edx*4 - 1]
sub ecx, edi
add ecx, dword [esp + 0x94]
or al, 0xff
add ecx, dword [esp + 0x3c]
sub al, dl
mov byte [esi], al
lea esi, [edi + edi + 1]
mov dword [esp + 0x44], edx
test esi, esi
jle 0x51bd68
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
movzx eax, byte [ecx]
mov dword [esp + 0x14], eax
cmp eax, edx
lea eax, [esp + 0x44]
jb 0x51bd11
lea eax, [esp + 0x14]
cmp dword [esp + 0x30], 0
mov al, byte [eax]
mov byte [ecx], al
mov eax, ecx
jle 0x51bd48
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
lea eax, [eax + esi + 1]
movzx esi, byte [eax]
mov dword [esp + 0x14], esi
cmp esi, edx
lea esi, [esp + 0x44]
jb 0x51bd3d
lea esi, [esp + 0x14]
dec edi
mov bl, byte [esi]
mov byte [eax], bl
jne 0x51bd22
mov edi, dword [esp + 0x20]
inc ecx
dec dword [esp + 0x48]
jne 0x51bcfe
mov eax, dword [esp + 0x10]
mov ebx, eax
lea esi, [edi + edi + 1]
sub ebx, esi
add ecx, ebx
dec dword [esp + 0x40]
jne 0x51bcfa
mov ebx, dword [ebp + 8]
jmp 0x51bd6c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, 1
add dword [esp + 0x2c], edx
add dword [esp + 0x34], edx
add ecx, edx
mov edx, eax
sub edx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
sub edx, edi
cmp ecx, edx
jl 0x51bcb4
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x34], ecx
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x24]
inc ecx
sub edx, edi
mov dword [esp + 0x28], ecx
cmp ecx, edx
jl 0x51bca0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf8]
call edx
test al, al
je 0x51c12b
mov esi, dword [ebx + 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x44]
call eax
mov edi, dword [ebx + 0x120]
mov edx, dword [esi]
sub edi, eax
mov eax, dword [edx + 0x12c]
add edi, dword [ebx + 0x1e4]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x40]
imul esi, edi
add esi, dword [ebx + 0x11c]
add esi, dword [ebx + 0x1e0]
call eax
mov ecx, dword [esp + 0x1c]
sub esi, eax
lea edi, [ecx + esi*4]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x12c]
call eax
movzx ecx, byte [ebx + 0x1d9]
movzx edx, byte [ebx + 0x1da]
sub eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xcc], esi
mov esi, dword [0x694078]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x1d8]
mov dword [esp + 0xbc], 0xffffff80
mov dword [esp + 0xc0], 0x40
mov dword [esp + 0xc4], 0xffffffc0
mov dword [esp + 0xc8], 0x80
mov esi, dword [esp + esi*8 + 0xb0]
mov dword [esp + 0x20], edx
add edx, esi
and ecx, 0xff
mov dword [esp + 0x14], edx
cmp edx, 0xff
mov dword [esp + 0x1c], 0xff
lea edx, [esp + 0x1c]
jg 0x51becf
lea edx, [esp + 0x14]
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x14], edx
cmp edx, 0xff
mov dword [esp + 0x1c], 0xff
lea edx, [esp + 0x1c]
jg 0x51bef7
lea edx, [esp + 0x14]
mov edx, dword [edx]
add esi, ecx
mov dword [esp + 0x14], esi
cmp esi, 0xff
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], 0xff
lea esi, [esp + 0x1c]
jg 0x51bf1b
lea esi, [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x44], edx
mov edx, dword [0x694078]
mov esi, dword [esp + edx*8 + 0xb4]
mov edx, dword [esp + 0x20]
add edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x1c]
js 0x51bf4a
lea edx, [esp + 0x14]
mov edx, dword [edx]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x1c]
js 0x51bf6c
lea edx, [esp + 0x14]
mov edx, dword [edx]
add ecx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
js 0x51bf86
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x5c]
mov ecx, dword [ecx]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
test esi, esi
jle 0x51c11e
add eax, eax
add eax, eax
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov eax, ecx
sub eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov eax, edx
sub eax, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
cdq
idiv esi
mov dword [esp + 0x20], 0
add al, byte [esp + 0x40]
movzx ecx, al
mov eax, dword [esp + 0x30]
cdq
idiv esi
shl ecx, 8
add al, byte [esp + 0x48]
movzx edx, al
mov eax, dword [esp + 0x2c]
or ecx, edx
cdq
idiv esi
shl ecx, 8
add al, byte [esp + 0x44]
movzx eax, al
or ecx, eax
mov edx, ecx
and edx, 0xff00ff
and ecx, 0xff00
cmp dword [esp + 0x10], 0
jle 0x51c0e5
mov eax, dword [esp + 0x24]
mov al, byte [eax]
test al, al
je 0x51c0bd
movzx ebx, al
mov eax, dword [edi]
mov esi, eax
shr esi, 0x18
mov dword [esp + 0x90], esi
cmp esi, ebx
mov dword [esp + 0x1c], ebx
lea esi, [esp + 0x1c]
jb 0x51c074
lea esi, [esp + 0x90]
mov ebx, eax
and eax, 0xff00
and ebx, 0xff00ff
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x34]
movzx esi, byte [esi]
sub eax, ecx
sub ebx, edx
imul eax, esi
imul ebx, esi
shr eax, 8
shr ebx, 8
add eax, ecx
add ebx, edx
and eax, 0xff00
and ebx, 0xff00ff
or ebx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
shl eax, 0x18
or ebx, eax
mov dword [edi], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
mov esi, 1
add dword [esp + 0x34], esi
add dword [esp + 0x24], esi
add eax, esi
add edi, 4
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x10]
jl 0x51c046
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
add dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
add edi, dword [esp + 0x80]
add dword [esp + 0x30], edx
add dword [esp + 0x2c], ecx
inc eax
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x51bff1
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
call eax
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebx + 0x11c]
add ecx, dword [ebx + 0x1e0]
sub ecx, eax
mov dword [ebx + 0x1c8], ecx
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebx + 0x120]
mov edx, dword [ebx + 0x1c8]
sub ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [ebx + 0x1e4]
add eax, edx
mov dword [ebx + 0x1d0], eax
mov eax, dword [esp + 0x18]
lea esi, [ecx + eax]
mov eax, dword [ebx + 0x1a8]
mov dword [ebx + 0x1cc], ecx
mov dword [ebx + 0x1d4], esi
test eax, eax
je 0x51c20f
cmp byte [eax + 0x1f2], 0
jne 0x51c20f
cmp edx, dword [eax + 0x1d0]
jge 0x51c20f
cmp ecx, dword [eax + 0x1d4]
jge 0x51c20f
cmp esi, dword [eax + 0x1cc]
jle 0x51c20f
mov esi, dword [eax + 0x1d0]
sub esi, edx
add dword [ebx + 0x1e0], esi
mov edx, dword [eax + 0x1d0]
mov dword [ebx + 0x1c8], edx
mov edx, dword [eax + 0x1cc]
cmp edx, ecx
jle 0x51c1f5
sub ecx, edx
add dword [eax + 0x1e4], ecx
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1cc]
mov dword [eax + 0x1cc], ecx
mov eax, dword [ebx + 0x1a8]
mov ebx, dword [ebx + 0x1d4]
cmp dword [eax + 0x1d4], ebx
jge 0x51c20f
mov dword [eax + 0x1d4], ebx
mov eax, dword [esp + 0x94]
test eax, eax
je 0x51c223
push eax
call fcn.0048f06d
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x51c234
push eax
call fcn.0048f06d
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x51c245
push eax
call fcn.0048f06d
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x51c37e
push eax
call fcn.0048f06d
add esp, 4
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 0x11c]
sub ecx, eax
mov dword [esi + 0x1c8], ecx
mov ecx, dword [esi + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esi + 0x120]
mov edx, dword [esi + 0x1c8]
sub ecx, eax
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x1d4], ecx
mov byte [esi + 0x1f2], 1
lea esi, [esp + 0x70]
call fcn.00402800
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x1a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
call edx
mov ecx, dword [ebx + 0x11c]
sub ecx, eax
mov dword [ebx + 0x1c8], ecx
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebx + 0x120]
mov edx, dword [ebx + 0x1c8]
sub ecx, eax
mov dword [ebx + 0x1d4], ecx
jmp 0x51c36b
mov ecx, dword [ebx + 0x1a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
call edx
mov ecx, dword [ebx + 0x11c]
sub ecx, eax
mov dword [ebx + 0x1c8], ecx
mov ecx, dword [ebx + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebx + 0x120]
mov edx, dword [ebx + 0x134]
add edx, dword [ebx + 0x1c8]
sub ecx, eax
mov eax, dword [ebx + 0x138]
add eax, ecx
mov dword [ebx + 0x1d4], eax
mov byte [ebx + 0x1f2], 1
mov dword [ebx + 0x1d0], edx
mov dword [ebx + 0x1cc], ecx
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4