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

Disassembly:
push 0xffffffffffffffff
push 0x528a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x9c]
call fcn.00505a96
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xc4], ebx
call dword [eax + 0x1fc]
mov edx, dword [edi]
mov esi, eax
mov ecx, edi
mov dword [esp + 0x2c], esi
call dword [edx + 0x200]
mov ebp, dword [edi + 0x278]
xor ecx, ecx
cmp ebp, ebx
setne cl
cmp ecx, ebx
jne 0x4bf33e
cmp dword [edi + 0x288], ebx
jne 0x4bf33e
xor edx, edx
jmp 0x4bf343
mov edx, 1
mov ecx, dword [edi + 0x254]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xcc]
lea ebp, [ecx - 2]
add eax, esi
cmp edx, ebx
mov dword [esp + 0x38], ebp
mov ebp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x84], esi
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x24], ebp
je 0x4bf457
mov eax, dword [edi + 0x278]
cmp eax, ebx
je 0x4bf3b3
mov ebp, dword [eax + 0x40]
jmp 0x4bf3b5
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x24], ebp
call fcn.004bc870
mov edx, dword [esp + 0xcc]
push eax
lea eax, [edx + ebp]
push eax
push 0
mov ecx, ebp
neg ecx
push ecx
lea esi, [edi + 0x1f4]
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
sub eax, edx
push eax
push 0
lea edx, [esp + 0x38]
push edx
call ebx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push eax
push 0
lea eax, [esp + 0x88]
push eax
call ebx
mov eax, dword [edi + 0x200]
mov ebx, dword [esp + 0xcc]
push eax
push ebx
push 0
push 0
lea esi, [edi + 0x204]
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x200]
push eax
push ebx
push 0
push 0
lea ecx, [edi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x278]
test eax, eax
jne 0x4bf472
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x4bf472
lea eax, [edi + 0x1f4]
push eax
call esi
lea edx, [edi + 0x204]
push edx
call esi
lea eax, [edi + 0x214]
push eax
call esi
xor ebx, ebx
mov eax, 0x551640
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov ecx, edi
mov byte [esp + 0xc4], 2
mov dword [esp + 0x14], ebx
call fcn.0044f640
test eax, eax
jle 0x4bf56b
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0044f650
mov esi, eax
push esi
mov ecx, edi
call fcn.004bc7f0
test eax, eax
je 0x4bf4fe
test ebx, ebx
jl 0x4bfd19
push 0xffffffffffffffff
lea edx, [ebx + 1]
push edx
lea ecx, [esp + 0x60]
call fcn.004d5e00
mov eax, dword [esp + 0x5c]
mov dword [eax + ebx*4], esi
mov ebx, dword [esp + 0x60]
jmp 0x4bf553
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x4bf553
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x4bf553
mov eax, dword [esi + 0x80]
cmp eax, 0xf020
jl 0x4bf529
cmp eax, 0xf120
jle 0x4bf553
cmp esi, dword [edi + 0x26c]
je 0x4bf553
cmp esi, dword [edi + 0x1cc]
je 0x4bf553
cmp esi, dword [edi + 0x1d0]
je 0x4bf553
cmp esi, dword [edi + 0x260]
je 0x4bf553
push esi
lea ecx, [esp + 0x70]
call fcn.0047d260
mov esi, dword [esp + 0x14]
inc esi
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.0044f640
cmp esi, eax
jl 0x4bf4c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
lea esi, [eax + ecx - 3]
mov ecx, dword [edi + 0x244]
test ecx, ecx
je 0x4bf5aa
mov ecx, dword [edi + 0x240]
test ecx, ecx
je 0x4bf5aa
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + eax]
push edx
mov edx, dword [esp + 0xd0]
push edx
push ecx
lea eax, [edi + 0x224]
push 0
push eax
jmp 0x4bf5c5
mov ecx, dword [edi + 0x1fc]
lea eax, [eax + ebp - 3]
push eax
push ecx
add ebp, 0xfffffffe
push ebp
lea ecx, [esi + 3]
lea edx, [edi + 0x224]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [edi + 0x26c]
test ecx, ecx
mov ebp, 2
mov dword [esp + 0x10], ebp
je 0x4bf6ef
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x1f8]
mov ebp, esi
lea ebx, [esi - 1]
lea esi, [eax + edx - 1]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4bf628
mov edx, dword [ecx]
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x44]
push eax
call dword [edx + 0x94]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
sub eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x34]
jmp 0x4bf670
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x4bf674
mov edx, dword [ecx]
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x44]
push eax
call dword [edx + 0x94]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [edi + 0x1f8]
mov eax, dword [edi + 0x200]
sub eax, edx
sub eax, ebx
cdq
sub eax, edx
lea ecx, [ebp + 0xf]
mov esi, eax
mov eax, dword [edi + 0x1f8]
mov dword [edi + 0x224], ecx
sar esi, 1
add esi, eax
mov eax, dword [esp + 0x20]
add ebx, esi
mov dword [esp + 0x1c], ebx
xor ebx, ebx
test eax, eax
mov dword [esp + 0x10], ebp
jne 0x4bf699
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x4bf699
mov eax, 1
jmp 0x4bf69b
xor eax, eax
mov ecx, dword [edi + 0x26c]
mov edx, dword [ecx]
test eax, eax
mov eax, dword [ecx + 0xcc]
je 0x4bf6b2
or eax, 2
jmp 0x4bf6b5
and eax, 0xfffffffd
push eax
call dword [edx + 0x8c]
mov ecx, dword [edi + 0x26c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
call dword [edx + 0x74]
mov eax, dword [edi + 0x26c]
mov ebp, dword [esp + 0x10]
mov dword [eax + 0x90], 1
mov esi, dword [esp + 0x74]
xor ebx, ebx
test esi, esi
mov dword [esp + 0x14], ebx
jle 0x4bf83f
test ebx, ebx
jl 0x4bfd19
cmp ebx, esi
jge 0x4bfd19
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx + ebx*4]
mov ecx, esi
call fcn.00453560
test al, 1
jne 0x4bf82e
mov edx, dword [edi + 0x23c]
xor eax, eax
test edx, edx
mov edx, dword [esi]
sete al
mov ecx, esi
test eax, eax
mov eax, dword [esi + 0xcc]
je 0x4bf747
or eax, 4
jmp 0x4bf74a
and eax, 0xfffffffb
push eax
call dword [edx + 0x8c]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x4bf82e
mov eax, dword [esi]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call dword [eax + 0x94]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esi + 0x94]
sar ebx, 1
add ebx, edx
test eax, eax
je 0x4bf7a1
add ebp, 6
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
add ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
lea ebp, [ecx + eax]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0xcc]
and eax, 0xfffffffd
push eax
mov ecx, esi
mov dword [esp + 0x14], ebp
call dword [edx + 0x8c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x74]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xd0]
lea ebp, [esi + 0xac]
mov eax, 2
mov dword [ebp], eax
mov dword [ebp + 4], ecx
add edx, 0xfffffffe
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov dword [esi + 0x90], 0
mov esi, dword [esp + 0x74]
inc ebx
cmp ebx, esi
mov dword [esp + 0x14], ebx
jl 0x4bf701
mov ecx, dword [edi + 0x244]
test ecx, ecx
mov dword [esp + 0x50], ebp
je 0x4bf886
mov eax, dword [edi + 0x240]
test eax, eax
jne 0x4bf886
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4bf886
mov edx, dword [esp + 0x34]
mov dword [edi + 0x228], edx
mov edx, dword [esp + 0x3c]
add ebp, 5
mov dword [esp + 0x28], 1
mov dword [edi + 0x224], ebp
mov dword [edi + 0x230], edx
jmp 0x4bf8a5
mov eax, dword [edi + 0x240]
mov edx, dword [edi + 0x224]
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, 2
mov dword [esp + 0x28], 0
add ebp, edx
test ecx, ecx
mov dword [esp + 0x10], ebp
je 0x4bf8c1
test eax, eax
je 0x4bf8c1
mov eax, dword [esp + 0xcc]
add eax, 0xfffffff1
mov dword [esp + 0x18], eax
jmp 0x4bf8fc
mov eax, dword [edi + 0x278]
test eax, eax
je 0x4bf8de
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4bf8de
mov ecx, dword [esp + 0xcc]
add ecx, 0xffffff8d
jmp 0x4bf8f8
mov eax, dword [edi + 0x1f8]
mov ebx, dword [edi + 0x200]
mov edx, dword [esp + 0xcc]
sub eax, ebx
lea ecx, [edx + eax*2]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x268]
test ecx, ecx
je 0x4bf918
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx]
or edx, 1
push edx
call dword [eax + 0x8c]
mov ecx, dword [esp + 0x60]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], eax
jle 0x4bfb74
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4bfd19
cmp eax, dword [esp + 0x60]
jge 0x4bfd19
mov ecx, dword [esp + 0x5c]
mov esi, dword [ecx + eax*4]
mov eax, dword [edi + 0x244]
test eax, eax
jne 0x4bf964
mov eax, dword [esi + 0xcc]
or eax, 2
jmp 0x4bf982
cmp esi, dword [edi + 0x268]
je 0x4bf98d
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esi + 0xcc]
je 0x4bf97f
or eax, 2
jmp 0x4bf982
and eax, 0xfffffffd
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x8c]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4bf9b3
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x4bf9b3
mov eax, dword [esi + 0xcc]
mov edx, dword [esi]
or eax, 2
push eax
mov ecx, esi
call dword [edx + 0x8c]
cmp esi, dword [edi + 0x264]
jne 0x4bf9da
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4bf9da
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4bf9da
mov eax, dword [edi + 0x240]
test eax, eax
jne 0x4bf9da
add dword [esp + 0x10], 0xc
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x4bfb57
cmp esi, dword [edi + 0x268]
je 0x4bfa03
cmp esi, dword [edi + 0x264]
mov dword [esp + 0x24], 0
jne 0x4bfa0b
mov dword [esp + 0x24], 1
mov eax, dword [esi]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call dword [eax + 0x94]
mov ecx, dword [edi + 0x228]
mov eax, dword [edi + 0x230]
sub eax, ecx
mov ecx, dword [esp + 0x44]
lea ebp, [edi + 0x224]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov edx, dword [edi + 0x228]
mov ebx, eax
mov eax, dword [esp + 0x24]
sar ebx, 1
add ebx, edx
test eax, eax
jne 0x4bfaba
mov eax, dword [edi + 0x240]
test eax, eax
jne 0x4bfa69
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4bfa69
add ebx, 2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
add edx, eax
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x54], 1
jle 0x4bfabe
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi]
or ecx, 2
push ecx
mov ecx, esi
mov dword [esp + 0x20], 1
call dword [eax + 0x8c]
mov ecx, dword [edi + 0x268]
mov eax, dword [ecx + 0xcc]
mov edx, dword [ecx]
and eax, 0xfffffffe
push eax
call dword [edx + 0x8c]
jmp 0x4bfb57
mov eax, dword [esp + 0x10]
add ecx, ebx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x90], ecx
jne 0x4bfaeb
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4bfaef
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0xcc]
mov edx, dword [esi]
and eax, 0xfffffffd
push eax
mov ecx, esi
call dword [edx + 0x8c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x74]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ebp, [esi + 0xac]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4bf932
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
mov eax, dword [edi + 0x240]
test eax, eax
jne 0x4bfb84
mov dword [edi + 0x22c], ebp
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4bfb94
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0xcc]
lea ebx, [esi - 1]
test ebx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
jge 0x4bfbe1
mov eax, dword [edi + 0x23c]
test eax, eax
jne 0x4bfbbc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 6]
cmp ecx, eax
lea esi, [edi + 0x1d4]
jle 0x4bfd1e
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x4bfd37
mov esi, dword [esp + 0x74]
test ebx, ebx
jl 0x4bfd19
cmp ebx, esi
jge 0x4bfd19
mov eax, dword [esp + 0x70]
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.00453560
test al, 1
je 0x4bfd09
mov edx, dword [edi + 0x23c]
xor eax, eax
test edx, edx
mov edx, dword [esi]
sete al
mov ecx, esi
test eax, eax
mov eax, dword [esi + 0xcc]
je 0x4bfc27
or eax, 4
jmp 0x4bfc2a
and eax, 0xfffffffb
push eax
call dword [edx + 0x8c]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x4bfd09
mov eax, dword [esi]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call dword [eax + 0x94]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov ebp, eax
mov eax, dword [esp + 0x18]
sar ebp, 1
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xcc]
add ecx, ebp
sub ebx, edx
mov edx, dword [esi]
and eax, 0xfffffffd
mov dword [esp + 0x50], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [edx + 0x8c]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x74]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0xd0]
mov eax, 2
lea ebp, [esi + 0xac]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
add edx, 0xfffffffe
mov dword [ebp + 8], edx
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x90], 1
call dword [edx + 0x5c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
dec ebx
mov dword [esp + 0x14], ebx
jns 0x4bfbdd
jmp 0x4bfbaa
call fcn.004f96a8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, esi
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov ecx, dword [edi + 0x260]
test ecx, ecx
je 0x4bfddf
mov ebx, dword [edi + 0x23c]
mov edx, dword [ecx]
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov eax, dword [ecx + 0xcc]
je 0x4bfd63
or eax, 1
jmp 0x4bfd66
and eax, 0xfffffffe
push eax
call dword [edx + 0x8c]
mov ecx, dword [edi + 0x260]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esi
mov ebp, dword [eax]
mov ebx, esp
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], eax
call dword [edx + 0x74]
mov eax, dword [edi + 0x260]
test eax, eax
je 0x4bfda7
lea ebx, [eax + 0x174]
jmp 0x4bfda9
xor ebx, ebx
mov ecx, edi
call fcn.0044ea00
mov ecx, dword [eax + 0x644]
mov ebp, dword [esi]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
lea eax, [esp + 0xa8]
push eax
push ebx
call dword [edx + 0x58]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
lea ebp, [edi + 0x1e4]
mov dword [ebp], edx
mov dword [ebp + 4], ecx
mov ebx, ecx
mov ecx, dword [edi + 0x260]
test ecx, ecx
mov dword [ebp + 8], eax
mov dword [esp + 0xb8], esi
mov dword [ebp + 0xc], esi
je 0x4bfe65
mov ecx, dword [ecx + 0x178]
test ecx, ecx
je 0x4bfe65
mov ecx, dword [ecx + 0x80]
lea esi, [edx + 4]
mov dword [esp + 0x40], esi
lea esi, [esp + 0x40]
push esi
push 0x40
sub eax, edx
push eax
lea edx, [esp + 0xa4]
add ebx, 3
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 6
mov dword [esp + 0x5c], 3
call fcn.004e2e60
mov ecx, edi
call fcn.004bee80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4bfe7b
mov ecx, edi
call fcn.004be2f0
mov eax, dword [esp + 0x5c]
test eax, eax
mov byte [esp + 0xc4], 1
je 0x4bfe94
push eax
call fcn.00500fd3
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
mov byte [esp + 0xc4], 0
je 0x4bfead
push eax
call fcn.00500fd3
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00505af1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret 8