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

Disassembly:
push 0xffffffffffffffff
push 0x66348e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0xa4]
call fcn.00629ad2
mov eax, dword [edi]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0xdc], ebp
call dword [eax + 0x1ac]
mov edx, dword [edi]
mov esi, eax
mov ecx, edi
mov dword [esp + 0x28], esi
call dword [edx + 0x1b0]
mov ecx, edi
mov ebx, eax
call fcn.004c1ce0
cmp eax, ebp
jne 0x4c26ea
cmp dword [edi + 0x24c], ebp
jne 0x4c26ea
xor ecx, ecx
jmp 0x4c26ef
mov ecx, 1
mov eax, dword [edi + 0x210]
add ebx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x8c], ebx
mov ebx, 4
lea edx, [eax - 2]
cmp ecx, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x14], ebx
je 0x4c2813
mov eax, dword [edi + 0x238]
cmp eax, ebp
je 0x4c2759
mov ebx, dword [eax + 0x44]
jmp 0x4c275b
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x14], ebx
call fcn.004c3b50
mov esi, eax
mov ecx, edi
mov ebp, esi
sub ebp, ebx
call fcn.004c2600
add eax, esi
mov edx, ebx
push eax
mov eax, dword [esp + 0xe8]
neg edx
lea ecx, [ebx + eax]
lea esi, [edi + 0x1b0]
push ecx
push ebp
push edx
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ecx
add eax, ebp
push eax
lea eax, [esp + 0x40]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ecx
lea ecx, [esp + 0x80]
add eax, ebp
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x1bc]
mov ebp, dword [esp + 0xe4]
push eax
push ebp
lea esi, [edi + 0x1c0]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x1bc]
lea edx, [edi + 0x1d0]
push eax
push ebp
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x238]
test eax, eax
jne 0x4c2834
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x4c2834
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [edi + 0x1b0]
push eax
call esi
lea eax, [edi + 0x1c0]
push eax
call esi
lea ecx, [edi + 0x1d0]
push ecx
call esi
mov eax, 0x69dcb0
xor ebp, ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebp
mov ecx, edi
mov byte [esp + 0xdc], 2
mov dword [esp + 0x10], ebp
call fcn.004ae920
test eax, eax
jle 0x4c292d
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
call fcn.004ae930
mov esi, eax
mov ecx, edi
push esi
call fcn.004c2590
test eax, eax
je 0x4c28b1
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x74]
call fcn.004752c0
mov eax, dword [esp + 0x70]
jmp 0x4c2910
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x80]
test eax, eax
je 0x4c2915
cmp dword [esi + 0x114], ebp
jne 0x4c2915
mov eax, dword [esi + 0x40]
cmp eax, 0xf020
jl 0x4c28d9
cmp eax, 0xf120
jle 0x4c2915
cmp esi, dword [edi + 0x228]
je 0x4c2915
cmp esi, dword [edi + 0x184]
je 0x4c2915
cmp esi, dword [edi + 0x188]
je 0x4c2915
cmp esi, dword [edi + 0x21c]
je 0x4c2915
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x60]
call fcn.004752c0
mov eax, dword [esp + 0x5c]
mov dword [eax + ebp*4], esi
xor ebp, ebp
mov esi, dword [esp + 0x10]
mov ecx, edi
inc esi
mov dword [esp + 0x10], esi
call fcn.004ae920
cmp esi, eax
jl 0x4c287e
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
lea esi, [ecx + ebp - 3]
mov ecx, dword [edi + 0x228]
test ecx, ecx
je 0x4c294c
call fcn.00553a50
test eax, eax
je 0x4c2959
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
add esi, 0xa
mov eax, dword [edi + 0x200]
test eax, eax
je 0x4c298b
mov eax, dword [edi + 0x1fc]
test eax, eax
je 0x4c298b
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xe4]
add ebp, ecx
lea eax, [edi + 0x1e0]
push ebp
push edx
push ecx
push 0
push eax
jmp 0x4c29ae
mov eax, dword [edi + 0x1b4]
mov ecx, dword [edi + 0x1b8]
add ebx, eax
lea eax, [ebx + ebp - 3]
lea edx, [ebx - 2]
push eax
push ecx
lea ecx, [esi + 3]
lea ebx, [edi + 0x1e0]
push edx
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [edi + 0x228]
mov ebp, 2
test ecx, ecx
je 0x4c2b77
mov edx, dword [edi + 0x1b4]
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x4c], esi
lea ebx, [esi - 1]
lea esi, [edx + eax - 1]
mov dword [esp + 0x14], ebp
call fcn.00553a50
test eax, eax
je 0x4c2a4b
mov ecx, dword [edi + 0x228]
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x34]
mov edx, dword [ecx]
push eax
call dword [edx + 0x9c]
mov ecx, dword [eax]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
call fcn.004c1970
add eax, 0x84
mov ebx, dword [esp + 0x28]
mov edx, eax
mov ebp, dword [edx]
mov eax, dword [edx + 4]
add esi, eax
sub ebx, eax
mov ecx, dword [edx + 8]
add ecx, 3
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xd0], edx
jmp 0x4c2af0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4c2a8c
mov ecx, dword [edi + 0x228]
lea edx, [esp + 0xa0]
push edx
lea edx, [esp + 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x40]
sar esi, 1
add esi, eax
jmp 0x4c2af0
mov eax, dword [edi + 0x1f8]
test eax, eax
jne 0x4c2af0
mov ecx, dword [edi + 0x228]
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x34]
mov edx, dword [ecx]
push eax
call dword [edx + 0x9c]
mov ecx, dword [eax]
mov edx, dword [edi + 0x1b4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x1b4]
mov ebx, dword [eax + 4]
mov eax, dword [edi + 0x1bc]
sub eax, edx
sub eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [edi + 0x1fc]
sar esi, 1
add esi, ecx
test eax, eax
jne 0x4c2af0
mov edx, dword [esp + 0x4c]
add edx, 0xf
mov dword [edi + 0x1e0], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
add ebx, esi
add edx, eax
mov dword [esp + 0x38], ebx
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x20]
mov ebx, ebp
add ebp, edx
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x4c2b24
mov eax, dword [edi + 0x1f8]
test eax, eax
jne 0x4c2b24
mov eax, 1
jmp 0x4c2b26
xor eax, eax
mov ecx, dword [edi + 0x228]
test eax, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 0x8c]
je 0x4c2b3d
or edx, 2
jmp 0x4c2b40
and edx, 0xfffffffd
push edx
call dword [eax + 0x94]
sub esp, 0x10
mov ecx, dword [edi + 0x228]
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], ebx
mov dword [edx + 4], esi
mov esi, dword [esp + 0x28]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x48]
mov dword [edx + 0xc], esi
call dword [eax + 0x7c]
mov eax, dword [edi + 0x228]
mov dword [eax + 0x50], 1
mov eax, dword [esp + 0x60]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x4c2cbc
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.004b7410
test al, 1
jne 0x4c2cab
mov edx, dword [edi + 0x1f8]
xor eax, eax
test edx, edx
mov edx, dword [esi]
sete al
test eax, eax
mov eax, dword [esi + 0x8c]
je 0x4c2bbc
or al, 4
jmp 0x4c2bbe
and al, 0xfb
push eax
mov ecx, esi
call dword [edx + 0x94]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x80]
test eax, eax
je 0x4c2cab
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esi + 0x54]
sar ebx, 1
add ebx, edx
test eax, eax
je 0x4c2c18
add ebp, 6
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
add ecx, ebx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc0], ecx
mov ecx, dword [esi + 0x8c]
and ecx, 0xfffffffd
add ebp, edx
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebp
call dword [eax + 0x94]
mov ecx, dword [esp + 0xb4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd0]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x7c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x9c], ebx
lea ebx, [esi + 0x6c]
mov eax, 2
add edx, 0xfffffffe
mov dword [esi + 0x50], 0
mov dword [ebx], eax
mov eax, dword [esp + 0x9c]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x4c2b89
mov ecx, dword [edi + 0x200]
mov dword [esp + 0x4c], ebp
test ecx, ecx
je 0x4c2d07
mov eax, dword [edi + 0x1fc]
test eax, eax
jne 0x4c2d07
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4c2d07
mov edx, dword [esp + 0x40]
add ebp, 5
mov dword [edi + 0x1e4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
mov dword [edi + 0x1e0], ebp
mov dword [edi + 0x1ec], edx
jmp 0x4c2d2a
mov eax, dword [edi + 0x1fc]
mov edx, dword [edi + 0x1e0]
mov ebp, eax
mov dword [esp + 0x2c], 0
neg ebp
sbb ebp, ebp
and ebp, 2
add ebp, edx
mov dword [esp + 0x24], ebp
test ecx, ecx
je 0x4c2d3e
test eax, eax
je 0x4c2d3e
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff1
jmp 0x4c2d73
mov ecx, edi
call fcn.004c53f0
test eax, eax
je 0x4c2d59
mov ecx, dword [esp + 0xe4]
add ecx, 0xffffff8d
mov dword [esp + 0x1c], ecx
jmp 0x4c2d77
mov eax, dword [edi + 0x1b4]
mov esi, dword [edi + 0x1bc]
mov edx, dword [esp + 0xe4]
sub eax, esi
lea ecx, [edx + eax*2]
add eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x224]
test ecx, ecx
je 0x4c2d92
mov eax, dword [ecx + 0x8c]
mov edx, dword [ecx]
or al, 1
push eax
call dword [edx + 0x94]
mov ecx, dword [edi + 0x228]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
je 0x4c2db7
call fcn.00553a50
test eax, eax
mov dword [esp + 0x54], 1
jne 0x4c2dbf
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4c3035
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x200]
mov esi, dword [ecx + edx*4]
test eax, eax
jne 0x4c2dfe
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi]
or ecx, 2
push ecx
mov ecx, esi
call dword [eax + 0x94]
jmp 0x4c2e25
cmp esi, dword [edi + 0x224]
je 0x4c2e25
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
test eax, eax
mov eax, dword [esi + 0x8c]
je 0x4c2e1a
or al, 2
jmp 0x4c2e1c
and al, 0xfd
push eax
mov ecx, esi
call dword [edx + 0x94]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4c2e4a
mov eax, dword [edi + 0x1f8]
test eax, eax
jne 0x4c2e4a
mov eax, dword [esi + 0x8c]
mov edx, dword [esi]
or al, 2
mov ecx, esi
push eax
call dword [edx + 0x94]
cmp esi, dword [edi + 0x220]
jne 0x4c2e7b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c2e7b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4c2e7b
mov eax, dword [edi + 0x1fc]
test eax, eax
jne 0x4c2e7b
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4c2e7b
add ebp, 0xc
mov dword [esp + 0x24], ebp
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x80]
test eax, eax
je 0x4c3020
cmp esi, dword [edi + 0x224]
je 0x4c2ea9
mov eax, dword [edi + 0x220]
mov dword [esp + 0x14], 0
cmp esi, eax
jne 0x4c2eb1
mov dword [esp + 0x14], 1
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x9c]
mov ecx, dword [eax]
mov edx, dword [edi + 0x1e4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1ec]
sub eax, edx
sub eax, ecx
inc eax
cdq
sub eax, edx
mov edx, dword [edi + 0x1e4]
mov ebx, eax
mov eax, dword [edi + 0x1fc]
sar ebx, 1
add ebx, edx
test eax, eax
jne 0x4c2f0f
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4c2f0f
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c2f74
inc ebx
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x4c2f1f
mov dword [esp + 0x38], 1
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4c2f2d
add ebp, 6
mov dword [esp + 0x24], ebp
test edx, edx
jne 0x4c2f81
mov eax, dword [esp + 0x30]
add eax, ebp
cmp eax, dword [esp + 0x1c]
jle 0x4c2f81
mov eax, dword [esi + 0x8c]
mov edx, dword [esi]
or al, 2
mov ecx, esi
push eax
mov dword [esp + 0x1c], 1
call dword [edx + 0x94]
mov ecx, dword [edi + 0x224]
mov eax, dword [ecx + 0x8c]
mov edx, dword [ecx]
and al, 0xfe
push eax
call dword [edx + 0x94]
jmp 0x4c3020
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x4c2f1f
add ebx, 2
jmp 0x4c2f17
mov eax, dword [esp + 0x30]
add ecx, ebx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x2c]
add eax, ebp
mov dword [esp + 0x90], ebp
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x4c2fa7
test edx, edx
jne 0x4c2fad
mov ebp, eax
mov dword [esp + 0x24], ebp
mov eax, dword [esi + 0x8c]
mov edx, dword [esi]
and al, 0xfd
mov ecx, esi
push eax
call dword [edx + 0x94]
mov ecx, dword [esp + 0x90]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x7c]
lea eax, [edi + 0x1e0]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esi + 0x50], 0
mov dword [esp + 0xd0], ebx
lea ebx, [esi + 0x6c]
mov dword [esi + 0x6c], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov edx, dword [esp + 0xd0]
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c2dd3
mov eax, dword [edi + 0x1fc]
test eax, eax
jne 0x4c3045
mov dword [edi + 0x1e8], ebp
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4c3055
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
lea ebx, [ecx - 1]
test ebx, ebx
mov dword [esp + 0x10], ebx
jl 0x4c31b1
mov edx, dword [esp + 0x5c]
mov esi, dword [edx + ebx*4]
mov ecx, esi
call fcn.004b7410
test al, 1
je 0x4c31a6
mov edx, dword [edi + 0x1f8]
xor eax, eax
test edx, edx
sete al
test eax, eax
je 0x4c30b0
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi]
or ecx, 4
push ecx
mov ecx, esi
call dword [eax + 0x94]
jmp 0x4c30c3
mov eax, dword [esi + 0x8c]
mov edx, dword [esi]
and al, 0xfb
mov ecx, esi
push eax
call dword [edx + 0x94]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x80]
test eax, eax
je 0x4c31a6
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x9c]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x30]
sar ebp, 1
add ebp, edx
mov edx, dword [esp + 0x1c]
add ecx, ebp
sub ebx, eax
mov eax, dword [esi]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x98], edx
and ecx, 0xfffffffd
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, esi
call dword [eax + 0x94]
sub esp, 0x10
mov ecx, dword [esp + 0xa8]
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x7c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0xe8]
lea ebp, [esi + 0x6c]
mov eax, 2
add edx, 0xfffffffe
mov dword [ebp], eax
mov eax, dword [esi]
push 0
mov dword [esi + 0x50], 1
mov dword [ebp + 4], ecx
mov ecx, esi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
call dword [eax + 0x5c]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
dec ebx
mov dword [esp + 0x10], ebx
jns 0x4c3073
mov ebx, dword [edi + 0x1f8]
test ebx, ebx
jne 0x4c31c5
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
jmp 0x4c31c9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
lea edx, [ebp + 6]
cmp edx, ecx
jg 0x4c31f2
test ebx, ebx
je 0x4c31f2
lea esi, [edi + 0x190]
inc eax
mov edx, esi
mov dword [edx], ebp
mov ebp, dword [esp + 0x40]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x4c320f
lea esi, [edi + 0x190]
xor ecx, ecx
mov ebp, esi
inc eax
xor edx, edx
mov dword [ebp], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x4c32ab
mov edx, dword [ecx]
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov eax, dword [ecx + 0x8c]
je 0x4c3234
or al, 1
jmp 0x4c3236
and al, 0xfe
push eax
call dword [edx + 0x94]
sub esp, 0x10
mov eax, esi
mov ecx, dword [edi + 0x21c]
mov ebx, esp
mov ebp, dword [eax]
mov edx, dword [ecx]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ebx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
call dword [edx + 0x7c]
mov eax, dword [edi + 0x21c]
test eax, eax
je 0x4c3277
lea ebx, [eax + 0x140]
jmp 0x4c3279
xor ebx, ebx
mov ecx, edi
call fcn.004c41f0
mov ebp, dword [esi]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [esi + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], esi
lea ecx, [esp + 0xb0]
push ecx
push ebx
mov ecx, eax
call dword [edx + 0x58]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xb0]
push edx
mov ecx, edi
call fcn.004c4000
mov ecx, edi
call fcn.004c3b70
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c32fe
mov ecx, edi
call fcn.004c37b0
jmp 0x4c3309
mov ecx, dword [edi + 0x23c]
call fcn.0054fd50
mov esi, 0x69dcb0
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x70]
mov byte [esp + 0xdc], 3
test eax, eax
je 0x4c332b
push eax
call fcn.0061d6ce
add esp, 4
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xdc], 4
test eax, eax
je 0x4c3348
push eax
call fcn.0061d6ce
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00629b44
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd0
ret 8