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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x6fe1c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x814], edi
mov ebx, dword [esi + 0x60]
mov ecx, ebx
mov dword [ebp - 0x82c], eax
call fcn.004dc10a
mov edx, eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x81c], edx
and ecx, 0xff000000
cmp ecx, 0x6000000
jne 0x4baf35
cmp eax, ecx
je 0x4baf35
cmp byte [0x72251c], 0
je 0x4ba7cb
push 0x20
pop ecx
call fcn.005046af
mov edx, dword [ebp - 0x81c]
push ebx
mov eax, dword [edx]
lea ecx, [ebp - 0x834]
push ecx
push 0
lea ecx, [ebp - 0x83c]
push ecx
lea ecx, [ebp - 0x840]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x820]
push ecx
push 0x400
lea ecx, [ebp - 0x80c]
push ecx
push 0
push dword [ebp + 0x10]
push edx
call dword [eax + 0x78]
push eax
mov ecx, edi
call fcn.004bead6
cmp byte [0x72251c], 0
je 0x4ba821
push 0x20
pop ecx
call fcn.0050472f
push ebx
push 0x400
push dword [ebp - 0x820]
mov ecx, edi
call fcn.004b52f6
test al, al
je 0x4baf35
cmp dword [ebp - 0x820], 1
jbe 0x4baf35
push 8
lea eax, [ebp - 0x80c]
push 0x4baf48
push eax
call fcn.00574af3
add esp, 0xc
test eax, eax
jne 0x4ba8b9
lea eax, [ebp - 0x80a]
xor ebx, ebx
push 0x5f
push eax
inc ebx
call fcn.00435c37
pop ecx
pop ecx
test eax, eax
je 0x4ba89b
lea eax, [ebp - 0x80a]
push 0x5f
push eax
call fcn.00435c37
add eax, 2
push eax
call fcn.00575459
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ba89b
inc ebx
mov eax, dword [edi + 0x20]
push esi
push 0
push 0x17
mov ecx, dword [eax + 8]
add ecx, 0x12c
call fcn.005063f6
mov dword [eax + 0x18], ebx
jmp 0x4baf35
mov ecx, dword [ebp - 0x810]
mov edx, dword [ebp - 0x810]
mov eax, dword [esi + 0x84]
shr ecx, 0xa
shr edx, 6
and ecx, 0xffffff01
and edx, 0xffffff01
shr eax, 0xa
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x81c], edx
test al, 1
je 0x4ba901
test cl, cl
jne 0x4ba8f8
test dl, dl
je 0x4ba901
mov byte [ebp - 0x824], 1
jmp 0x4ba908
mov byte [ebp - 0x824], 0
push dword [ebp - 0x824]
mov ecx, edi
push dword [ebx + 0x50]
push dword [ebp - 0x810]
call fcn.004b8f15
cmp byte [esi + 0x81], 3
mov ebx, eax
mov dword [ebp - 0x830], ebx
jne 0x4ba93a
cmp ebx, 5
je 0x4ba93a
or dword [esi], 0x300
mov ecx, dword [edi + 0x20]
mov eax, dword [ebp - 0x820]
add ecx, 4
dec eax
push eax
lea eax, [ebp - 0x80c]
push eax
call fcn.004a846e
mov ecx, dword [edi + 0x20]
add ecx, 4
mov dword [ebp - 0x818], eax
push 2
call fcn.004a84ac
cmp dword [ebp - 0x818], eax
jne 0x4ba976
or dword [esi + 0x88], 4
mov eax, dword [edi]
lea ecx, [ebp - 0x80c]
push ecx
push dword [ebp - 0x810]
mov ecx, edi
push dword [ebp - 0x824]
push ebx
call dword [eax + 0x60]
test al, al
je 0x4baf35
mov eax, dword [esi + 0x84]
shr eax, 0x1d
test al, 1
je 0x4ba9af
cmp ebx, 5
jne 0x4baf35
test byte [ebp - 0x810], 0x10
je 0x4ba9c5
cmp byte [esi + 0x81], 3
je 0x4baf35
mov eax, dword [edi + 0x20]
push 0
push dword [ebp - 0x82c]
mov ecx, dword [eax + 8]
push esi
push dword [ebp - 0x818]
add ecx, 0x110
call fcn.004fd309
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x830]
shl eax, 0xd
xor eax, dword [ebx]
and eax, 0x1e000
xor dword [ebx], eax
mov eax, dword [ebp - 0x810]
shr eax, 4
movzx eax, al
shl eax, 0x11
xor eax, dword [ebx + 0x24]
and eax, 0x20000
xor dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x828]
movzx ecx, al
mov eax, dword [ebx + 0x88]
shl ecx, 0xe
and eax, 0xffffbfff
or ecx, eax
mov dword [ebx + 0x88], ecx
mov edx, dword [ebp - 0x810]
test edx, 0x1000
je 0x4baa7a
mov ecx, dword [edi + 0x20]
shr edx, 3
add ecx, 4
and edx, 2
push edx
call fcn.004a84ac
cmp dword [ebp - 0x818], eax
jne 0x4baa74
mov eax, dword [ebx + 0x88]
and eax, 0xffffff07
or eax, 4
mov dword [ebx + 0x88], eax
mov edx, dword [ebp - 0x810]
cmp byte [ebp - 0x81c], 0
je 0x4baa9d
mov ecx, dword [ebx + 0x88]
mov eax, ecx
and al, 0xfc
cmp al, 4
je 0x4baa9d
test dl, 0x20
jne 0x4baa9d
mov eax, 0x1000
jmp 0x4baaa5
mov ecx, dword [ebx + 0x88]
xor eax, eax
and dword [ebx + 0x24], 0xffdfffff
and ecx, 0xffffefff
or ecx, eax
mov eax, dword [ebp - 0x81c]
movzx eax, al
and ecx, 0xffffdfff
shl eax, 0xd
or ecx, eax
mov dword [ebx + 0x88], ecx
mov eax, dword [ebp - 0x810]
shr eax, 7
not al
movzx eax, al
shl eax, 0x17
xor eax, dword [ebx + 0x24]
and eax, 0x800000
xor dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x834]
shr eax, 7
movzx eax, al
shl eax, 0x13
xor eax, ecx
and eax, 0x80000
xor eax, ecx
mov ecx, edi
mov dword [ebx + 0x88], eax
mov eax, dword [ebp - 0x810]
mov edx, dword [edi]
shr eax, 8
and al, 1
movzx eax, al
push eax
push ebx
call dword [edx + 0x64]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x2c]
mov eax, dword [esi + 0x84]
mov ecx, 0xc00
and eax, ecx
cmp eax, ecx
jne 0x4bab47
test dword [ebx + 0x24], 0x20000
jne 0x4bab47
or dword [ebx], 0x300
test byte [ebx + 0x24], 1
je 0x4baba6
mov eax, dword [ebx]
shr eax, 8
test al, 1
jne 0x4baba6
mov eax, dword [edi + 0x20]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x828], eax
call fcn.004db698
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4baba6
cmp byte [ecx], 0
jne 0x4baba6
call fcn.004db660
mov edi, dword [ebp - 0x828]
mov ecx, ebx
mov esi, eax
mov edi, dword [edi + 8]
call fcn.004db6e8
push eax
push dword [ebx + 4]
lea ecx, [edi + 0x25c]
push esi
call fcn.004fd62b
mov esi, dword [ebp - 0x838]
mov edi, dword [ebp - 0x814]
mov eax, dword [ebx + 0x88]
mov edx, 0x1000
mov ecx, eax
and ecx, 0x5000
neg ecx
sbb ecx, ecx
and eax, 0xffffefff
and ecx, edx
or ecx, eax
test edx, ecx
je 0x4babd3
test dword [ebx + 0x24], 0x20000
je 0x4babd5
xor edx, edx
and ecx, 0xffffefff
push ebx
or ecx, edx
mov dword [ebx + 0x88], ecx
mov ecx, edi
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
push dword [ebp + 0x10]
push esi
call fcn.004baf5a
mov eax, dword [edi]
mov ecx, edi
push 0
push ebx
call dword [eax + 0x30]
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4bac79
cmp dword [edx + 0x14], 0
jle 0x4bac79
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x14]
add ecx, 0xc
shl eax, 2
push eax
call fcn.004b2b2b
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x54], eax
test edx, edx
je 0x4bac36
mov edx, dword [edx + 0x14]
jmp 0x4bac38
xor edx, edx
mov eax, dword [edi + 0x20]
shl edx, 2
push edx
mov ecx, dword [eax + 8]
add ecx, 0xc
call fcn.004b2b2b
mov dword [ebx + 0x58], eax
xor ecx, ecx
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4bac5b
mov eax, dword [eax + 0x14]
jmp 0x4bac5d
xor eax, eax
cmp ecx, eax
jge 0x4bac81
mov eax, dword [edi]
inc ecx
push ecx
mov dword [ebp - 0x814], ecx
mov ecx, edi
push ebx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x814]
jmp 0x4bac4f
and dword [ebx + 0x54], 0
and dword [ebx + 0x58], 0
mov eax, dword [ebp - 0x810]
shr eax, 0xb
movzx eax, al
shl eax, 0x14
xor eax, dword [ebx + 0x88]
and eax, 0x100000
xor dword [ebx + 0x88], eax
mov eax, dword [ebp - 0x810]
and eax, 0x1800
cmp eax, 0x800
jne 0x4bae23
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0x818]
add ecx, 4
call fcn.00502edb
mov edx, 0x20000
mov dword [ebp - 0x814], eax
test dword [ebx + 0x24], edx
je 0x4bae23
mov ecx, dword [ebx]
and ecx, 0x1e000
cmp ecx, 0xa000
jne 0x4bae23
imul ecx, eax, 0x1c
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x14]
cmp eax, dword [ecx + 0x486998]
jne 0x4bae23
mov eax, dword [ebx + 0x3c]
cmp dword [eax + 4], 1
je 0x4bae23
mov eax, dword [ebx + 0x48]
cmp dword [eax + 0x14], 0
jne 0x4bae23
test dword [ebx + 0x24], 0x400000
jne 0x4bae23
test dword [ebx + 0x88], edx
jne 0x4bae23
mov ecx, dword [edi + 0x20]
add ecx, 4
push 0x24
call fcn.004a84ac
cmp dword [ebp - 0x818], eax
jne 0x4bad64
mov eax, dword [ebx + 0x88]
or dword [ebx + 0x24], 0x200000
and eax, 0xffffff17
or eax, 0x14
jmp 0x4bad8e
mov ecx, dword [edi + 0x20]
add ecx, 4
push 0x25
call fcn.004a84ac
cmp dword [ebp - 0x818], eax
jne 0x4bada8
mov eax, dword [ebx + 0x88]
or dword [ebx + 0x24], 0x200000
and eax, 0xffffff1b
or eax, 0x18
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x78], eax
mov dword [esi + 0x74], ebx
mov word [esi + 0xb0], 0x101
jmp 0x4bae23
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x4bae23
cmp eax, 0x42
je 0x4bae23
cmp eax, 0x41
je 0x4bae23
or dword [ebx + 0x24], 0x200000
cmp eax, 0x13
jne 0x4badf4
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x814], ecx
cmp ecx, dword [eax + 0x1c]
jne 0x4bae23
mov ecx, esi
call fcn.004dc3a2
cmp dword [ebp - 0x814], eax
jne 0x4bae23
or dword [esi + 0x84], 0x2000000
jmp 0x4bae23
cmp eax, 0x14
jne 0x4bae23
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x814], ecx
cmp ecx, dword [eax + 0x1c]
jne 0x4bae23
mov ecx, esi
call fcn.004dc3a2
cmp dword [ebp - 0x814], eax
jne 0x4bae23
or dword [esi + 0x84], 0x4000000
cmp byte [ebp - 0x81c], 0
je 0x4bae63
test dword [ebp - 0x810], 0x100
jne 0x4bae63
cmp dword [esi + 0x3c], 0
je 0x4bae63
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
cmp dword [eax + 0x280], esi
jne 0x4bae5c
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x68]
jmp 0x4bae63
or dword [ebx + 0x24], 0x40000
mov ecx, ebx
call fcn.004dcaeb
test al, al
je 0x4baea3
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x14], 0
jne 0x4baea3
mov ecx, dword [esi + 0x84]
or ecx, 0x100000
mov dword [esi + 0x84], ecx
mov eax, dword [ebx]
and eax, 0x1e000
cmp eax, 0xa000
jne 0x4baea3
or ecx, 0x200000
mov dword [esi + 0x84], ecx
cmp dword [ebx + 0x50], 0
je 0x4baecf
push dword [ebx + 0x50]
mov eax, dword [edi + 0x20]
push dword [ebx + 0x4c]
push dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
add ecx, 0x2c
call fcn.004fa9aa
test eax, eax
je 0x4baec9
mov dword [ebx + 0x3c], eax
jmp 0x4baecf
or dword [ebx], 0x300
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4baf00
cmp dword [edx + 0x14], 0
jle 0x4baf00
mov eax, dword [edi + 0x20]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
mov ecx, dword [eax + 8]
add ecx, 0x2c
push edx
call fcn.004fa8b3
test eax, eax
je 0x4baefa
mov dword [ebx + 0x40], eax
jmp 0x4baf00
or dword [ebx], 0x300
mov ecx, dword [ebp - 0x82c]
call fcn.004dc2bf
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x10], 0
jne 0x4baf35
mov eax, dword [esi + 0x84]
shr eax, 0x1c
test al, 1
je 0x4baf35
mov eax, dword [edi + 0x20]
push dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
add ecx, 0x2c
call fcn.004fa842
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040548e
leave
ret 0xc