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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x984164]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
mov ebx, edx
mov al, byte [ebx + 0x16]
push esi
mov byte [esp + 0xf], al
cmp al, 4
mov eax, dword [ecx]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
jne 0x4b39d9
mov edx, dword [ecx + 4]
jmp 0x4b39da
cdq
mov ecx, dword [ebx + 0x40]
test byte [ecx + 0xbd], 1
jne 0x4b39e7
cdq
mov esi, eax
and esi, edx
cmp esi, 0xffffffff
jne 0x4b39fa
mov edx, 0xc0000024
jmp 0x4b3adf
cmp eax, 0xfffffffe
jne 0x4b3a04
cmp edx, 0xffffffff
je 0x4b39f0
push edx
push eax
lea esi, [ecx + 0xe4]
call fcn.0045b640
test eax, eax
je 0x4b3a31
mov edi, dword [eax]
test edi, edi
je 0x4b3a31
cmp byte [edi + 0x3c], 0x22
jne 0x4b39f0
test byte [eax + 0x10], 4
jne 0x4b3a3b
mov edx, 0xc0000022
jmp 0x4b3adf
mov edx, 0xc0000008
jmp 0x4b3adf
mov al, byte [ebp + 8]
test al, 2
je 0x4b3a4b
mov ecx, dword [edi + 0x68]
mov dword [esp + 0x18], ecx
jmp 0x4b3a53
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x78], edx
ja 0x4b3a78
push 0x12
mov esi, ebx
call fcn.0048eb00
xor eax, eax
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], eax
jmp 0x4b3ca9
mov bl, al
and bl, 1
cmp byte [esp + 0x13], 4
movzx esi, bl
jne 0x4b3a99
neg esi
sbb esi, esi
and esi, 0xfffffef8
add esi, 0x238
jmp 0x4b3aa9
neg esi
sbb esi, esi
and esi, 0xfffffefc
add esi, 0x22c
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x20]
push edx
mov edx, 4
call eax
test al, al
jne 0x4b3cab
cmp dword [esp + 0x20], esi
jae 0x4b3af9
mov ebx, dword [esp + 0x14]
mov edx, 0xc0000004
mov eax, ebx
call fcn.004a57b0
xor eax, eax
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], eax
jmp 0x4b3ca9
mov eax, dword [esp + 0x18]
imul eax, eax, 0x114
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [edi + 0x88]
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x16], 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
jne 0x4b3bd3
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov edx, dword [edi + 0x88]
mov edx, dword [eax + edx]
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x88]
mov edx, dword [edx + eax + 8]
mov dword [esp + 0x40], edx
mov edx, dword [edi + 0x88]
mov edx, dword [edx + eax + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x88]
lea esi, [esp + 0x4c]
lea edx, [ecx + eax + 0x10]
test bl, bl
je 0x4b3ba1
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x4b3b74
mov edx, dword [edi + 0x88]
lea eax, [edx + eax + 0x10]
lea edx, [eax + 1]
jmp 0x4b3b90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3b90
sub eax, edx
lea edx, [eax + 0x2d]
jmp 0x4b3c6d
movzx cx, byte [edx]
movzx ecx, cx
mov word [esi], cx
inc edx
add esi, 2
test cx, cx
jne 0x4b3ba1
mov edx, dword [edi + 0x88]
lea eax, [edx + eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3bc1
sub eax, edx
lea edx, [eax + eax + 0x2e]
jmp 0x4b3c6d
mov edx, dword [edi + 0x88]
mov edx, dword [eax + edx]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x88]
mov edx, dword [edx + eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x88]
mov edx, dword [edx + eax + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x88]
lea esi, [esp + 0x44]
lea edx, [ecx + eax + 0x10]
test bl, bl
je 0x4b3c40
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x4b3c12
mov edx, dword [edi + 0x88]
lea eax, [edx + eax + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3c30
sub eax, edx
lea edx, [eax + 0x25]
jmp 0x4b3c6d
movzx cx, byte [edx]
movzx ecx, cx
mov word [esi], cx
inc edx
add esi, 2
test cx, cx
jne 0x4b3c40
mov edx, dword [edi + 0x88]
lea eax, [edx + eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3c60
sub eax, edx
lea edx, [eax + eax + 0x26]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push ecx
push eax
mov eax, dword [esi + 0x24]
mov ecx, esi
call eax
test al, al
jne 0x4b3cab
mov dword [esi + 0x110], 1
mov dword [esi + 0x114], 0
xor al, al
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005078c8
mov esp, ebp
pop ebp
ret 4