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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x228]
test eax, eax
je 0x4c53fd
mov edx, dword [ebp]
push eax
call dword [edx + 0x2b8]
mov esi, eax
mov eax, dword [ebp]
push esi
mov ecx, ebp
mov dword [esp + 0x68], esi
call dword [eax + 0x154]
mov edi, eax
cmp edi, 0x200
mov dword [esp + 0x18], edi
jl 0x4c47a4
sub edi, 0x80
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0x228]
mov edx, dword [ebp]
push esi
push eax
mov ecx, ebp
call dword [edx + 0x350]
mov bl, al
test bl, bl
mov byte [esp + 0x16], bl
jne 0x4c4855
mov eax, dword [ebp + 0x98]
mov edx, dword [ebp]
cmp eax, 6
jne 0x4c47f4
push 0
mov ecx, ebp
call dword [edx + 0x370]
mov eax, dword [ebp]
push 1
push 0
mov ecx, ebp
call dword [eax + 0x410]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebp
call dword [edx + 0x80]
mov cl, byte [eax + 0xafb]
test cl, cl
jne 0x4c4855
mov eax, dword [ebp + 0x98]
xor bl, bl
cmp eax, 1
jne 0x4c4815
mov bl, al
cmp eax, 0xb
jne 0x4c4829
mov ecx, dword [ebp + 0x1b4]
call fcn.004f46a0
test al, al
jne 0x4c4851
test bl, bl
jne 0x4c4851
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax + 0x370]
mov edx, dword [ebp]
push 1
push 0
mov ecx, ebp
call dword [edx + 0x410]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [esp + 0x16]
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x17], 0
call dword [eax + 0x2c]
cmp eax, 1
jne 0x4c48cf
mov ecx, dword [ebp + 0x5ac]
mov al, byte [ecx + 0xbaa]
test al, al
je 0x4c48cf
lea edx, [ebp + 0x88]
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x28], ecx
mov ecx, 0x81a800
mov edx, dword [edx + 8]
mov dword [esp + 0x2c], edx
call fcn.00545340
mov ecx, eax
call fcn.0047c9d0
test al, al
jne 0x4c48cf
mov ecx, dword [ebp + 0x228]
mov byte [esp + 0x17], 1
push ecx
mov ecx, ebp
call fcn.005cd140
add eax, 0x200
cmp edi, eax
jl 0x4c48cf
mov dword [esp + 0x18], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x2c]
lea ecx, [ebp + 0x564]
cmp eax, 2
sete byte [esp + 0x16]
mov eax, dword [ecx]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4c4947
call fcn.004539d0
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x7ba198
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jge 0x4c491a
lea ecx, [esp + 0x30]
call fcn.00453ae0
xor eax, eax
jmp 0x4c4929
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
call fcn.00453ae0
mov eax, edi
test esi, esi
mov dword [esp + 0x30], eax
jge 0x4c4943
cmp esi, 0x80004002
je 0x4c4943
push esi
call fcn.00780ec0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4c4955
push 0x80004003
call fcn.00780ec0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0xb0]
push edx
push eax
call dword [ecx + 0xc]
mov ecx, 4
mov edi, 0x78d008
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4c497f
mov byte [esp + 0x16], 1
mov eax, dword [ebp + 0x494]
xor edi, edi
cmp eax, edi
je 0x4c4a85
cmp dword [ebp + 0x228], edi
je 0x4c4a6d
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x80]
mov cl, byte [eax + 0xafc]
test cl, cl
je 0x4c4a6d
test bl, bl
jne 0x4c4a6d
mov ecx, dword [ebp + 0x228]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp + 0x494]
mov esi, eax
lea edx, [esp + 0x90]
mov eax, dword [ecx]
push edx
call dword [eax + 0x48]
mov ecx, dword [eax + 8]
mov edx, dword [esi + 8]
sub ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 4]
sub edx, ecx
lea ecx, [esp + 0x54]
push edx
mov edx, dword [esi]
sub eax, edx
push eax
call fcn.0041b630
mov ecx, dword [eax]
sub esp, 8
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
fild dword [esp + 0x2c]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fild dword [esp + 0x28]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [0x821b68]
mov edx, dword [ecx + 0xbec]
imul edx, dword [esp + 0x18]
cmp eax, edx
jle 0x4c4a6d
mov dword [ebp + 0x490], edi
mov dword [ebp + 0x494], edi
cmp dword [ebp + 0x494], edi
je 0x4c4a85
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x54]
test al, al
je 0x4c53ef
test bl, bl
je 0x4c4a9f
mov al, byte [ebp + 0x32d]
test al, al
je 0x4c4a9f
mov al, byte [esp + 0x17]
test al, al
je 0x4c53ef
mov eax, dword [ebp + 0x488]
test eax, eax
jle 0x4c4b0a
mov eax, dword [ebp + 0x47c]
mov edx, dword [ebp]
push 0
mov ecx, dword [eax]
push ecx
mov ecx, ebp
call dword [edx + 0x410]
mov eax, dword [ebp + 0x488]
test eax, eax
jle 0x4c4af0
lea ecx, [eax - 1]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x488], ecx
jle 0x4c4af0
mov ecx, dword [ebp + 0x47c]
inc eax
mov edx, dword [ecx + eax*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [ebp + 0x488]
cmp eax, ecx
jl 0x4c4ad8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c53fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x228]
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, 0xb
jne 0x4c4ba8
mov esi, dword [ebp + 0x228]
mov ecx, esi
call fcn.0047b710
test al, al
je 0x4c4ba8
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push 0
push ecx
mov ecx, ebp
call dword [eax + 0x4c]
mov ecx, eax
add esi, 0x24
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x2c], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
lea ecx, [esp + 0x38]
add eax, edx
sar eax, 8
mov word [esp + 0x2e], ax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edx
push eax
push esi
push ecx
mov ecx, 0x81a800
call fcn.00565b70
mov edx, dword [eax]
mov esi, dword [ebp]
lea eax, [esp + 0x34]
mov ecx, 0x81a800
push eax
mov dword [esp + 0x38], edx
call fcn.005453b0
push eax
mov ecx, ebp
call dword [esi + 0x370]
mov ecx, dword [ebp + 0x228]
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, 6
jne 0x4c4beb
mov esi, dword [ebp + 0x228]
test esi, esi
je 0x4c4beb
mov ecx, dword [esi + 0x418]
push 0
call fcn.004585c0
mov ecx, dword [esi + 0x418]
mov edi, eax
call fcn.004585b0
add edi, eax
mov eax, dword [esp + 0x18]
shl edi, 6
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
fild dword [esp + 0x18]
cmp eax, 0xf
jne 0x4c4c04
fsub qword [0x78c7d0]
jmp 0x4c4c0a
fsub qword [0x78c7c8]
call fcn.0076a6b0
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
mov esi, ecx
mov dword [esp + 0x18], esi
jle 0x4c4c32
cmp esi, 0xff
jg 0x4c4c32
mov esi, 0xff
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 0x228]
lea eax, [esp + 0x74]
push eax
mov edx, dword [ecx]
call dword [edx + 0x48]
mov edx, eax
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x2c], ax
mov eax, ecx
cdq
and edx, 0xff
lea ecx, [esp + 0x74]
add eax, edx
push ecx
sar eax, 8
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x48]
fild dword [esp + 0x50]
mov edx, dword [eax]
sub esp, 8
mov dword [esp + 0x24], edx
sub esp, 8
fstp qword [esp + 0xa0]
fild dword [esp + 0x64]
fstp qword [esp + 0x60]
fild dword [esp + 0x2c]
fsub qword [esp + 0xa0]
fstp qword [esp + 8]
fild dword [eax + 4]
fsubr qword [esp + 0x60]
fstp qword [esp]
call fcn.004ba120
fsub qword [0x786630]
add esp, 0x10
fmul qword [0x786628]
call fcn.0076a6b0
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x228]
mov byte [esp + 0x40], 0
shr eax, 7
inc eax
shr eax, 1
and eax, 0xff
mov dword [esp + 0x8c], eax
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 0xb
jne 0x4c4d2e
mov ecx, dword [ebp + 0x228]
mov edx, dword [ecx + 0x140]
shr edx, 8
and dl, 1
mov byte [esp + 0x40], dl
jmp 0x4c4d45
mov eax, dword [ebp + 0x228]
test eax, eax
je 0x4c4d45
test byte [eax + 0x14], 2
je 0x4c4d45
mov al, byte [eax + 0x79]
mov byte [esp + 0x40], al
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x80]
fild dword [esp + 0x18]
mov eax, dword [eax + 0x500]
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], eax
fcom qword [0x78c7c0]
fnstsw ax
test ah, 0x41
jne 0x4c5279
fstp qword [esp + 0x80]
mov dword [esp + 0x18], 0x7c3258
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x8c]
mov edx, dword [ecx]
add edx, edi
shl edx, 8
movsx eax, dx
and al, 0
sub eax, 0x3fff
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fmul qword [0x786620]
fstp qword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
push esi
push edi
call fcn.004b9fa0
fmul qword [esp + 0x88]
fsubr qword [esp + 0x58]
call fcn.0076a6b0
push esi
push edi
mov ebx, eax
call fcn.004b9ff0
fmul qword [esp + 0x90]
add esp, 0x10
fadd qword [esp + 0x90]
call fcn.0076a6b0
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
movsx eax, ax
shl eax, 8
sar ecx, 8
add eax, 0x80
movsx ecx, cx
mov dword [esp + 0x24], eax
xor eax, eax
shl ecx, 8
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x17]
add ecx, 0x80
test al, al
mov dword [esp + 0x20], ecx
je 0x4c4e55
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x81a800
call fcn.00545340
mov ecx, eax
call fcn.0047c9d0
test al, al
je 0x4c523e
lea edx, [esp + 0x20]
mov ecx, 0x81a800
push edx
call fcn.00556f20
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x81a800
call fcn.00545340
mov ecx, dword [eax + 0x140]
test ch, 1
je 0x4c4e92
mov ecx, dword [0x84e270]
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x39c]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x228]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.006ba090
test al, al
je 0x4c523e
mov eax, dword [esp + 0x20]
push 1
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x28]
cdq
and edx, 0xff
add eax, edx
lea edx, [esp + 0x14]
sar eax, 8
mov word [esp + 0x76], ax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
push edx
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x4c523e
mov eax, dword [ebp]
lea ecx, [esp + 0xcc]
push 0
push ecx
mov ecx, ebp
call dword [eax + 0x4c]
mov ecx, eax
push 1
push 0xffffffffffffffff
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x68], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
mov cl, byte [ebp + 0x79]
add eax, edx
sar eax, 8
mov word [esp + 0x6a], ax
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], edx
push eax
push ecx
lea edx, [esp + 0x98]
push eax
push edx
mov ecx, 0x81a800
call fcn.0054cc30
push eax
mov eax, dword [ebp]
push 0
push 0
mov ecx, ebp
call dword [eax + 0x80]
mov ecx, dword [eax + 0x5a4]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, 0x81a800
call fcn.005453b0
mov ecx, eax
call fcn.00478360
test al, al
jne 0x4c5118
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
cmp eax, 0xf
je 0x4c523e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x48], eax
xor edi, edi
mov ecx, esi
mov dword [esp + 0x28], edi
and ecx, 7
mov ax, word [ecx*4 + 0x839d80]
lea ecx, [ecx*4 + 0x839d80]
add ax, word [esp + 0x10]
mov cx, word [ecx + 2]
add cx, word [esp + 0x12]
mov word [esp + 0x6c], ax
movsx eax, ax
mov word [esp + 0x6e], cx
mov edx, dword [esp + 0x6c]
movsx ecx, cx
shl ecx, 8
shl eax, 8
add ecx, 0x80
add eax, 0x80
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
mov dword [esp + 0x14], edx
call dword [eax + 0x39c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x228]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.006ba090
test al, al
je 0x4c50ed
mov edx, dword [ebp]
lea eax, [esp + 0xc0]
push 0
push eax
mov ecx, ebp
call dword [edx + 0x4c]
mov ecx, eax
push 1
push 0xffffffffffffffff
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x3c], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
mov dl, byte [ebp + 0x79]
sar eax, 8
mov word [esp + 0x3e], ax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push eax
push edx
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], ecx
push eax
mov ecx, 0x81a800
call fcn.0054cc30
mov edx, dword [ebp]
push eax
push 0
push 0
mov ecx, ebp
call dword [edx + 0x80]
mov eax, dword [eax + 0x5a4]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, 0x81a800
call fcn.005453b0
mov ecx, eax
call fcn.00478360
test al, al
jne 0x4c5118
inc esi
cmp esi, 8
jl 0x4c4fd7
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
jmp 0x4c523e
movsx edx, word [esp + 0x3e]
movsx eax, word [esp + 0x12]
sub eax, edx
cdq
mov ecx, eax
movsx eax, word [esp + 0x10]
xor ecx, edx
sub ecx, edx
movsx edx, word [esp + 0x3c]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov esi, eax
jg 0x4c5144
mov esi, ecx
lea eax, [esp + 0x10]
mov ecx, 0x81a800
push eax
call fcn.005453b0
mov edi, eax
mov al, byte [esp + 0x16]
test al, al
jne 0x4c53ac
mov edx, dword [edi + 0x140]
mov ecx, dword [esp + 0x40]
shr edx, 8
push 0xffffffffffffffff
and dl, 1
push ecx
push edx
lea eax, [esp + 0x48]
push ebp
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x8198e8
call fcn.0042aa30
add esi, 8
cmp eax, esi
jle 0x4c53ac
mov edx, dword [ebp]
lea eax, [esp + 0xa4]
push 0
push eax
mov ecx, ebp
call dword [edx + 0x4c]
mov ecx, eax
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
mov esi, eax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
movsx edx, word [esp + 0x12]
sar eax, 8
mov word [esp + 0x1e], ax
movsx eax, ax
sar esi, 8
sub eax, edx
mov word [esp + 0x1c], si
mov ecx, dword [esp + 0x1c]
cdq
mov dword [esp + 0x38], ecx
mov ecx, eax
xor ecx, edx
sub ecx, edx
movsx edx, word [esp + 0x10]
movsx eax, si
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov esi, eax
jg 0x4c5202
mov esi, ecx
mov eax, dword [edi + 0x140]
mov edx, dword [ebp]
shr eax, 8
and al, 1
push 0xffffffffffffffff
push eax
push 0
mov ecx, ebp
call dword [edx + 0xb8]
push eax
lea eax, [esp + 0x1c]
push ebp
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, 0x8198e8
call fcn.0042aa30
add esi, 8
cmp eax, esi
jle 0x4c53ac
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x7c32bc
mov dword [esp + 0x18], eax
jl 0x4c4d82
sub dword [esp + 0x44], 0x100
fild dword [esp + 0x44]
fst qword [esp + 0x80]
fcomp qword [0x78c7c0]
fnstsw ax
test ah, 0x41
jne 0x4c527b
jmp 0x4c4d7a
fstp st(0)
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x80]
mov cl, byte [eax + 0xaf2]
test cl, cl
jne 0x4c53db
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x2c]
cmp eax, 0xf
jne 0x4c52b5
mov eax, dword [ebp + 0x5a8]
mov cl, byte [eax + 0xc14]
test cl, cl
jne 0x4c53db
mov edx, dword [ebp]
xor ebx, ebx
lea eax, [esp + 0xa4]
mov esi, 1
push ebx
push eax
mov ecx, ebp
mov word [esp + 0x3c], bx
mov word [esp + 0x3e], bx
mov edi, esi
call dword [edx + 0x4c]
mov ecx, eax
push ebx
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x20], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
lea edx, [esp + 0x38]
push edx
push ebx
sar eax, 8
push ebx
mov word [esp + 0x2e], ax
mov ecx, dword [esp + 0x2c]
push esi
push ebx
push edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x54], ecx
push esi
push eax
mov ecx, 0x81a800
call fcn.005453b0
mov ecx, dword [eax + 0x140]
mov esi, dword [esp + 0x4c]
mov edx, dword [ebp]
shr ecx, 8
and cl, 1
push ecx
push esi
push ebx
mov ecx, ebp
call dword [edx + 0xb8]
push eax
lea eax, [esp + 0x64]
push esi
push eax
mov ecx, 0x81a800
call fcn.0054cc30
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x80]
mov eax, dword [eax + 0x5a4]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, 0x81a800
call fcn.0054d620
mov eax, dword [eax]
mov edx, dword [ebp]
push ebx
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x370]
mov ax, word [esp + 0x10]
cmp ax, word [0x84e210]
jne 0x4c53ac
mov cx, word [esp + 0x12]
cmp cx, word [0x84e212]
je 0x4c53cb
mov esi, dword [ebp]
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, 0x81a800
call fcn.005453b0
push eax
mov ecx, ebp
call dword [esi + 0x410]
jmp 0x4c53ef
mov eax, dword [ebp]
push 1
push ebx
mov ecx, ebp
call dword [eax + 0x410]
jmp 0x4c53ef
mov eax, dword [ebp + 0x228]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
call dword [edx + 0x410]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c53fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret