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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push dword [esi + 8]
call fcn.004c9a96
push eax
push dword [ebp + 0x18]
push dword [esi + 0x50]
push 0x20000172
push 3
call fcn.004b977a
add esp, 0x14
test byte [ebp + 0x18], 1
je 0x4beeb7
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
push dword [esi + 0x10]
push dword [esi + 0x48]
push dword [esi]
call fcn.004d2039
mov ebx, eax
test ebx, ebx
jns 0x4beeb7
push dword [ebp + 8]
push 0x43f2f0
push ebx
call fcn.004e833a
add esp, 0xc
jmp 0x4bf38d
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [esi + 0x50]
push dword [esi + 0x4c]
call fcn.004ebeee
mov ebx, eax
test ebx, ebx
jns 0x4beee3
push 0x43f2cc
push ebx
call fcn.004e833a
pop ecx
pop ecx
jmp 0x4bf38d
test byte [ebp + 0x18], 2
push edi
je 0x4bf302
push dword [esi + 0x54]
mov edi, 0x43dcf8
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x24]
mov edi, 0x43dc70
push dword [esi + 0x20]
push edi
push dword [ebp - 4]
call fcn.004ec40d
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x2c]
mov edi, 0x43dcd8
push dword [esi + 0x28]
push edi
push dword [ebp - 4]
call fcn.004ec40d
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x1c]
mov edi, 0x43dcb4
push dword [esi + 0x18]
push edi
push dword [ebp - 4]
call fcn.004ec40d
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x34]
mov edi, 0x43dc94
push dword [esi + 0x30]
push edi
push dword [ebp - 4]
call fcn.004ec40d
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
movzx edx, cx
push edx
mov edx, eax
shrd ecx, edx, 0x10
movzx ecx, cx
push ecx
movzx ecx, ax
push ecx
mov dword [ebp - 0xc], eax
shr eax, 0x10
push eax
push 0x43f2ac
mov edi, 0x43dc3c
push edi
push dword [ebp - 4]
shr edx, 0x10
call fcn.004ec3cb
mov ebx, eax
add esp, 0x1c
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4befe3
push eax
mov edi, 0x43dbfc
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bf003
push eax
mov edi, 0x43dbe8
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
push 0x43bbfc
push 0x43f2a4
mov edi, 0x43dc20
push edi
push dword [ebp - 4]
call fcn.004ec3cb
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x4bf342
push dword [esi + 0x54]
mov edi, 0x43dffc
push 0x43f298
push edi
push dword [ebp - 4]
call fcn.004ec3cb
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x4bf342
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov ebx, esi
call fcn.004bdd76
test eax, eax
mov eax, dword [ebp - 8]
jns 0x4bf063
mov eax, dword [esi + 0x60]
push eax
mov edi, 0x43dc58
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4bf09c
push eax
mov edi, 0x43dfdc
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4bf0bc
push eax
mov edi, 0x43dfac
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4bf0dc
push eax
mov edi, 0x43df98
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4bf0fc
push eax
mov edi, 0x43df7c
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4bf11c
push eax
mov edi, 0x43df60
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4bf13c
push eax
mov edi, 0x43df44
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4bf177
push eax
mov edi, 0x43df20
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x7c]
mov edi, 0x43df04
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4bf19a
push eax
mov edi, 0x43def0
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4bf1bd
push eax
mov edi, 0x43dee0
push edi
push dword [ebp - 4]
call fcn.004ec325
mov ebx, eax
test ebx, ebx
js 0x4bf342
mov eax, dword [esi + 0x88]
cmp eax, 1
jne 0x4bf2ad
mov edi, 0x43decc
push 1
push edi
push dword [ebp - 4]
call fcn.004ebe4d
mov ebx, eax
test ebx, ebx
js 0x4bf342
cmp dword [esi + 0x8c], 0
je 0x4bf20d
push dword [esi + 0x90]
mov edi, 0x43de7c
push edi
push dword [ebp - 4]
call fcn.004ebe4d
mov ebx, eax
test ebx, ebx
js 0x4bf342
cmp dword [esi + 4], 0
jne 0x4bf22d
push 1
mov edi, 0x43de5c
push edi
push dword [ebp - 4]
call fcn.004ebe4d
mov ebx, eax
test ebx, ebx
js 0x4bf342
push dword [esi + 0x54]
mov edi, 0x43de30
push 0x43f268
push edi
push dword [ebp - 4]
call fcn.004ec3cb
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x4bf342
cmp dword [esi + 0x88], 2
mov eax, 0x43f258
je 0x4bf263
mov eax, 0x43f240
push eax
push dword [esi + 0x54]
mov edi, 0x43de10
push 0x43f22c
push edi
push dword [ebp - 4]
call fcn.004ec3cb
mov ebx, eax
add esp, 0x14
test ebx, ebx
js 0x4bf342
cmp dword [esi + 0x98], 0
je 0x4bf2df
push dword [esi]
lea ebx, [esi + 0x94]
call fcn.004be0db
mov ebx, eax
test ebx, ebx
jns 0x4bf2df
push 0x43f20c
jmp 0x4bf384
cmp eax, 2
je 0x4bf1e6
push dword [esi + 0x54]
mov edi, 0x43deb4
push 0x43f1f0
push edi
push dword [ebp - 4]
call fcn.004ec3cb
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x4bf342
mov edi, 0x43de90
jmp 0x4bf1d1
cmp dword [esi + 0x9c], 0
je 0x4bf302
push dword [ebp + 0x10]
mov eax, esi
call fcn.004becc1
mov ebx, eax
test ebx, ebx
jns 0x4bf302
push 0x43f1c8
jmp 0x4bf384
test byte [ebp + 0x18], 4
je 0x4bf353
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
shrd ecx, eax, 0xa
shr eax, 0xa
test eax, eax
jb 0x4bf353
ja 0x4bf32a
test ecx, ecx
je 0x4bf353
test eax, eax
jb 0x4bf32d
ja 0x4bf32a
cmp ecx, 0xffffffff
jbe 0x4bf32d
or ecx, 0xffffffff
push ecx
mov edi, 0x43dfc0
push edi
push dword [ebp - 4]
call fcn.004ebe4d
mov ebx, eax
test ebx, ebx
jns 0x4bf353
push edi
push 0x43e860
push ebx
call fcn.004e833a
add esp, 0xc
jmp 0x4bf38c
cmp dword [ebp + 0x1c], 1
jne 0x4bf36c
push esi
call fcn.004d7fea
mov ebx, eax
test ebx, ebx
jns 0x4bf36c
push 0x43f198
jmp 0x4bf384
push 0
push dword [ebp - 4]
xor eax, eax
inc eax
call fcn.004beaaf
mov ebx, eax
test ebx, ebx
jns 0x4bf38c
push 0x43f178
push ebx
call fcn.004e833a
pop ecx
pop ecx
pop edi
cmp dword [ebp - 8], 0
je 0x4bf39b
push dword [ebp - 8]
call fcn.004e8a9b
cmp dword [ebp - 4], 0
je 0x4bf3aa
push dword [ebp - 4]
call dword [0x43b03c]
pop esi
mov eax, ebx
pop ebx
leave
ret 0x20