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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556c16
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x60]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov ecx, esi
mov dword [esp + 0x20], esi
call edx
mov eax, dword [eax + 0x108]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
cmp eax, 2
je 0x4bf934
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
test eax, eax
je 0x4bf934
xor eax, eax
jmp 0x4bf939
mov eax, 1
xor ecx, ecx
test eax, eax
sete cl
cmp dword [esp + 0x18], 5
mov eax, ecx
mov dword [esp + 0x1c], eax
jne 0x4bf958
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x14]
mov eax, edi
call fcn.004c3cb0
mov dword [esp + 0xc0], 0
cmp dword [ebx + 0x28], 0
je 0x4bf99d
mov eax, dword [edi + 0x60]
cmp dword [eax + 4], edi
jne 0x4bf99d
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x1c], 0
je 0x4bf99d
cmp dword [esp + 0x1c], 0
je 0x4bf995
lea eax, [ebx + 0x124]
jmp 0x4bf9b0
lea eax, [ebx + 0x114]
jmp 0x4bf9b0
cmp dword [esp + 0x1c], 0
lea eax, [ebx + 0x11c]
jne 0x4bf9b0
lea eax, [ebx + 0x10c]
mov esi, dword [ebp + 8]
mov dword [esp + 0x44], vtable.CWizFontDC.0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xffffffff
test eax, eax
je 0x4bf9e9
test esi, esi
je 0x4bf9e9
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
test eax, eax
je 0x4bf9e9
mov dword [esp + 0x4c], eax
mov byte [esp + 0xc0], 1
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x8c]
lea eax, [esp + 0x2c]
push eax
push 0
push edi
sub esp, 8
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x44], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
mov dword [esp + 0x48], esp
push esi
call eax
cmp dword [esp + 0x18], 3
mov dword [esp + 0x3c], eax
jne 0x4bfa46
mov ecx, dword [edi + 0x60]
cmp dword [ecx + 4], edi
je 0x4bfa46
xor eax, eax
jmp 0x4bfa4b
mov eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x4bfacc
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x4bfacc
xor esi, esi
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x4bfacc
test esi, esi
jl 0x4bfb00
cmp esi, dword [edi + 0x74]
jge 0x4bfb00
mov edx, dword [edi + 0x70]
mov ecx, dword [edx + esi*4]
lea eax, [edx + esi*4]
mov eax, dword [ecx + 8]
cmp eax, 2
je 0x4bfa9b
cmp eax, 1
jne 0x4bfaba
mov eax, dword [edi + 0x60]
cmp dword [eax + 4], edi
jne 0x4bfaba
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x24]
push eax
call edx
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
jne 0x4bfab6
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
inc esi
cmp esi, dword [edi + 0x74]
jl 0x4bfa6c
cmp dword [esp + 0x10], 0
jle 0x4bfacc
add dword [esp + 0x10], 3
cmp dword [ebp + 0x20], 0
je 0x4c00cb
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
push edi
push edx
call eax
cmp dword [esp + 0x10], 0
jle 0x4bfcdb
cmp dword [esp + 0x1c], 0
je 0x4bfb05
sub dword [ebp + 0x1c], 3
jmp 0x4bfb09
call fcn.004dcd9a
sub dword [ebp + 0x18], 3
mov eax, dword [edi + 0x74]
add eax, 0xffffffff
mov dword [esp + 0x10], eax
js 0x4bfcdb
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4bfb00
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx + 0x74]
jge 0x4bfb00
lea ecx, [eax*4]
mov eax, dword [edx + 0x70]
mov esi, dword [eax + ecx]
add eax, ecx
mov eax, dword [esi + 8]
cmp eax, 2
je 0x4bfb5e
cmp eax, 1
jne 0x4bfccd
mov eax, edx
mov ecx, dword [eax + 0x60]
cmp dword [ecx + 4], eax
jne 0x4bfccd
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x1c], 0
lea ecx, [ebp + 0x10]
jne 0x4bfbef
lea eax, [esp + 0x8c]
push eax
call fcn.004152b0
mov ecx, eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [ebp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
lea ecx, [ebp + 0x10]
push eax
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.004152b0
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
add edx, eax
mov eax, dword [ebp + 0x18]
sub eax, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
lea ecx, [esp + 0xa4]
call fcn.00410170
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
sub dword [ebp + 0x18], ecx
jmp 0x4bfc67
lea edx, [esp + 0x54]
push edx
call fcn.004152b0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x74]
push eax
lea ecx, [ebp + 0x10]
call fcn.004152b0
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push ecx
sub ecx, dword [esp + 0x2c]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, dword [eax]
mov eax, edi
push edx
cdq
push ecx
mov ecx, dword [esp + 0x40]
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
sub edx, eax
push edx
lea ecx, [esp + 0xb4]
call fcn.00410170
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
sub dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + 0x74]
jge 0x4bfb00
mov eax, ecx
mov eax, dword [eax + 0x70]
mov ecx, edx
add ecx, ecx
add ecx, ecx
mov edi, dword [eax + ecx]
add eax, ecx
lea esi, [edi + 0x10]
mov ecx, esi
call fcn.00415eb0
test eax, eax
jne 0x4bfccd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebp + 8]
push edi
push ecx
mov ecx, eax
call edx
sub dword [esp + 0x10], 1
jns 0x4bfb20
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x24]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
je 0x4bfeb3
test eax, eax
jle 0x4bfd20
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea ecx, [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebx + 0x70]
add edx, dword [ebx + 0x60]
mov esi, dword [esp + 0x20]
add dword [ebp + 0x14], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
mov ecx, esi
call edx
cmp eax, 3
jne 0x4bfd43
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x6c]
jmp 0x4bfd49
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x64]
add dword [ebp + 0x10], ecx
sub dword [ebp + 0x18], eax
cmp dword [esp + 0x3c], 0
je 0x4bfdbc
lea eax, [esp + 0x74]
push eax
lea ecx, [ebp + 0x10]
call fcn.004152b0
mov edx, dword [ebp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx]
dec edx
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040fcd0
lea ecx, [ebp + 0x10]
call fcn.0040fe70
cmp eax, dword [esp + 0x30]
jle 0x4bfdae
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push 1
push edi
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x30]
lea edx, [eax + ecx + 2]
mov dword [ebp + 0x14], edx
cmp dword [esp + 0x38], 0
je 0x4c0041
mov eax, dword [ebp + 0x14]
add eax, 8
cmp dword [ebp + 0x1c], eax
jle 0x4c0041
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x28]
push edx
call fcn.00415f10
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
xor ecx, ecx
cmp eax, 3
sete cl
mov edi, ecx
lea ecx, [ebp + 0x10]
call fcn.00415ef0
sub eax, edi
sub eax, dword [esp + 0x28]
lea ecx, [ebp + 0x10]
cdq
sub eax, edx
mov edx, dword [ebp + 0x18]
sar eax, 1
sub edx, eax
mov dword [ebp + 0x10], edx
call fcn.0040fe70
add eax, dword [ebp + 0x10]
mov edi, dword [ebx + 0x78]
mov edx, dword [ebx + 0x68]
add edi, 0xfffffffc
xor ecx, ecx
test edi, edi
setl cl
mov dword [ebp + 0x18], eax
dec ecx
and ecx, edi
add edx, ecx
sub dword [ebp + 0x1c], edx
cmp dword [ebx + 0x98], 0
jne 0x4bfe51
lea edi, [esp + 0x14]
call fcn.00440490
mov eax, dword [ebp + 0x18]
cmp dword [ebx + 0x90], 0
je 0x4bfe8e
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp + 0x14]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x1c]
push 0x920
push ebx
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x2c]
mov dword [ecx + 0xc], eax
call fcn.004bf4d0
mov ebx, dword [esp + 0x40]
jmp 0x4c0041
mov ecx, dword [ebx + 0x94]
neg ecx
sbb ecx, ecx
and ecx, 0x8000
or ecx, 0x920
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
jmp 0x4c0039
test eax, eax
jle 0x4bfecb
cdq
sub eax, edx
sar eax, 1
push 0
neg eax
push eax
lea ecx, [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebx + 0x70]
add edx, dword [ebx + 0x60]
mov ecx, dword [esp + 0x20]
add dword [ebp + 0x10], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
cmp eax, 2
jne 0x4bfeec
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x6c]
jmp 0x4bfef2
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x64]
mov esi, dword [esp + 0x3c]
add dword [ebp + 0x14], ecx
sub dword [ebp + 0x1c], eax
test esi, esi
je 0x4bff6b
lea eax, [esp + 0x74]
push eax
lea ecx, [ebp + 0x10]
call fcn.004152b0
mov ecx, eax
mov eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, dword [ecx + 4]
sar eax, 1
sub edx, eax
mov eax, dword [ebp + 0x10]
push edx
dec eax
push eax
lea ecx, [esp + 0x2c]
call fcn.0040fcd0
lea ecx, [ebp + 0x10]
call fcn.00415ef0
cmp eax, dword [esp + 0x2c]
jle 0x4bff5b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push 1
push edi
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx + 2]
mov dword [ebp + 0x10], edx
jmp 0x4bff6e
mov edx, dword [ebp + 0x10]
cmp dword [esp + 0x38], 0
je 0x4c0041
mov ecx, dword [ebp + 0x18]
cmp ecx, edx
jle 0x4c0041
neg esi
sbb esi, esi
and esi, 2
sub esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x68]
add ecx, esi
cmp dword [ebx + 0x90], 0
mov dword [ebp + 0x18], ecx
je 0x4bffe2
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x98]
neg edx
sbb edx, edx
and edx, 0x800
or edx, dword [ebx + 0x9c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x1c]
or edx, 0x20
push edx
push ebx
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x2c]
mov dword [eax + 0xc], ecx
call fcn.004bf4d0
mov ebx, dword [esp + 0x40]
jmp 0x4c0041
cmp dword [ebx + 0xa0], 0
je 0x4bfffd
lea edi, [esp + 0x14]
call fcn.00440490
cmp dword [ebx + 0xa0], 0
jne 0x4c000a
cmp dword [ebx + 0x98], 0
jne 0x4c000a
xor eax, eax
jmp 0x4c000f
mov eax, 0x800
mov ecx, dword [ebx + 0x94]
neg ecx
sbb ecx, ecx
and ecx, 0x8000
or ecx, dword [ebx + 0x9c]
or ecx, eax
or ecx, 0x20
push ecx
lea ecx, [ebp + 0x10]
call fcn.004139f0
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00415fb0
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x60]
cmp dword [ecx + 4], esi
jne 0x4c0087
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
test eax, eax
je 0x4c0087
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx]
mov edx, dword [edx + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0xc], ecx
push esi
mov ecx, ebx
call edx
jmp 0x4c008a
mov esi, dword [ebp + 8]
mov byte [esp + 0xc0], 0
test esi, esi
je 0x4c00a8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c00a8
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [esp + 0x14]
call fcn.00407f90
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x4c010d
mov esi, dword [ebx + 0xd8]
add esi, dword [ebx + 0x68]
mov eax, dword [ebx + 0xd0]
add esi, dword [ebx + 0x60]
mov ecx, dword [ebx + 0xd4]
test eax, eax
jle 0x4c00f6
cmp eax, esi
jle 0x4c00f6
mov esi, eax
test ecx, ecx
jle 0x4c03b5
cmp ecx, esi
jge 0x4c03b5
mov esi, ecx
jmp 0x4c03b5
cmp eax, 3
jne 0x4c0316
cmp dword [esp + 0x38], 0
jne 0x4c0163
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
jne 0x4c012c
mov edx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x68]
add esi, dword [ebx + 0x60]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
lea esi, [esi + edx + 8]
test eax, eax
jle 0x4c014c
cmp eax, esi
jle 0x4c014c
mov esi, eax
test ecx, ecx
jle 0x4c03b5
cmp ecx, esi
jge 0x4c03b5
mov esi, ecx
jmp 0x4c03b5
cmp dword [ebx + 0x28], 0
je 0x4c0181
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x1c], 0
je 0x4c0181
mov edx, dword [esp + 0x1c]
push edx
mov eax, ebx
call fcn.004c1870
jmp 0x4c0194
cmp dword [esp + 0x1c], 0
lea eax, [ebx + 0x11c]
jne 0x4c0194
lea eax, [ebx + 0x10c]
mov ecx, dword [ebp + 8]
lea esi, [esp + 0x74]
call fcn.0043f4e0
mov eax, dword [esp + 0x20]
xor edi, edi
mov byte [esp + 0xc0], 2
cmp dword [eax + 0x5c], edi
mov dword [esp + 0x18], edi
jle 0x4c0262
jmp 0x4c01c0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.00410170
test edi, edi
jl 0x4c01e8
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 0x5c]
jge 0x4c01e8
mov ecx, dword [eax + 0x58]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
jmp 0x4c01ea
xor eax, eax
lea esi, [esp + 0x34]
call fcn.004c3cb0
mov esi, eax
mov byte [esp + 0xc0], 3
mov edx, dword [ebx + 0x98]
neg edx
sbb edx, edx
and edx, 0x800
or edx, 0x520
push edx
lea ecx, [esp + 0x68]
call fcn.004139f0
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.00415fb0
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 2
call fcn.00407f90
lea ecx, [esp + 0x64]
call fcn.00415ef0
cmp dword [esp + 0x18], eax
jg 0x4c0254
lea ecx, [esp + 0x64]
call fcn.00415ef0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
inc edi
cmp edi, dword [eax + 0x5c]
jl 0x4c01c0
cmp dword [esp + 0x3c], 0
jne 0x4c026d
xor edx, edx
jmp 0x4c027c
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
jne 0x4c027c
mov edx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x78]
add esi, dword [ebx + 0x70]
mov eax, dword [ebx + 0xd0]
add esi, dword [ebx + 0x68]
mov ecx, dword [ebx + 0xd4]
add esi, dword [ebx + 0x60]
add esi, edx
add esi, dword [esp + 0x18]
add esi, dword [esp + 0x10]
test eax, eax
jle 0x4c02a8
cmp eax, esi
jle 0x4c02a8
mov esi, eax
test ecx, ecx
jle 0x4c02b2
cmp ecx, esi
jge 0x4c02b2
mov esi, ecx
mov byte [esp + 0xc0], 1
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4c02ea
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4c02d4
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
je 0x4c02ea
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, edi
call eax
mov ecx, dword [ebp + 8]
mov byte [esp + 0xc0], 0
test ecx, ecx
je 0x4c03c6
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c03c6
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
jmp 0x4c03c6
mov ecx, dword [ebx + 0x98]
neg ecx
sbb ecx, ecx
and ecx, 0x800
or ecx, 0x520
push ecx
lea ecx, [ebp + 0x10]
call fcn.004139f0
mov ecx, dword [ebp + 8]
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00415fb0
cmp dword [esp + 0x3c], 0
jne 0x4c0354
mov dword [esp + 0x18], 0
jmp 0x4c036d
cmp dword [esp + 0x1c], 0
je 0x4c0365
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jmp 0x4c036d
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0xd4]
mov edi, dword [ebx + 0xd0]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x34], edx
call fcn.00415ef0
mov esi, eax
add esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x68]
add esi, dword [ebx + 0x70]
add eax, dword [ebx + 0x60]
add esi, dword [esp + 0x18]
add esi, dword [esp + 0x10]
add esi, eax
test edi, edi
jle 0x4c03a7
cmp edi, esi
jle 0x4c03a7
mov esi, edi
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4c03b5
cmp eax, esi
jge 0x4c03b5
mov esi, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 0
call fcn.0043f580
lea ecx, [esp + 0x14]
call fcn.00407f90
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c