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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edx
mov edx, ecx
mov dword [esp], 0
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [edx + 8]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 8], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
xor esi, esi
mov dword [esp + 0x24], ecx
movzx ecx, byte [ecx + 0x10]
test eax, eax
mov dword [esp + 0xc], ecx
jle 0x4b0bc4
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov dword [esp], 0
mov ecx, dword [ecx + 0x14]
lea edx, [edx + edx*8]
mov edx, dword [ebx + edx*8 + 0x30]
add ecx, 0x20
jmp 0x4b0b9a
mov edi, dword [esp + 0x34]
add ecx, 0x30
dec eax
je 0x4b0bc4
cmp dword [ecx - 0xc], edx
jne 0x4b0b94
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
and ebx, dword [esp + 0x6c]
and ebp, dword [esp + 0x70]
or ebp, ebx
jne 0x4b0b90
movzx ebx, word [ecx - 0x14]
and ebx, 0xf7ff
cmp bx, 1
sbb dword [esp], 0xffffffff
jmp 0x4b0b90
test edi, edi
je 0x4b0c14
mov eax, dword [edi]
xor esi, esi
mov ecx, 0
test eax, eax
jle 0x4b0c0f
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ebp, [edi + 0xc]
lea ecx, [ecx + ecx*8]
lea edx, [edx + ecx*8 + 0x30]
xor ecx, ecx
nop dword [eax]
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa4
jne 0x4b0c0f
mov ebx, dword [ebx + 0x1c]
cmp ebx, dword [edx]
jne 0x4b0c0f
test byte [ebp], 2
jne 0x4b0c0f
inc ecx
add ebp, 0x10
cmp eax, ecx
jne 0x4b0bf0
mov ecx, eax
cmp ecx, eax
cmove esi, eax
mov eax, dword [esp + 0x14]
lea edx, [esi*8]
mov ecx, dword [eax]
mov eax, dword [esp]
lea eax, [eax + eax*4]
test ecx, ecx
lea ebp, [edx + eax*4 + 0x50]
je 0x4b0c3d
mov edx, ebp
push 0
call fcn.00435490
add esp, 4
jmp 0x4b0c46
mov ecx, ebp
xor edx, edx
call fcn.0041c030
mov edi, eax
test eax, eax
je 0x4b0cbb
push ebp
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, dword [esp]
lea ecx, [edi + 0x50]
mov dword [edi + 8], esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], ecx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 8]
lea eax, [eax + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [edi + eax*4 + 0x50]
mov dword [edi + 0xc], eax
lea eax, [eax + esi*8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], edx
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jle 0x4b0cd6
mov eax, dword [esp + 0xc]
mov ebp, dword [ecx + 0x14]
mov ecx, dword [esp + 4]
xor edx, edx
mov dword [esp + 0xc], 0
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8 + 0x30]
xor ecx, ecx
mov dword [esp], eax
jmp 0x4b0e9c
push str.out_of_memory
push dword [esp + 0x18]
call fcn.0042af90
add esp, 8
mov ebp, 7
jmp 0x4b121e
xor ecx, ecx
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
test esi, esi
mov dword [edi], ecx
jle 0x4b0d1d
mov eax, dword [esp + 0x3c]
xor ecx, ecx
lea eax, [edi + eax*4 + 0x54]
nop dword [eax + eax]
mov edx, dword [ebx + ecx*2 + 4]
movsx edx, word [edx + 0x20]
mov dword [eax + ecx - 4], edx
movzx edx, byte [ebx + ecx*2 + 0xc]
and dl, 1
mov byte [eax + ecx], dl
add ecx, 8
dec esi
jne 0x4b0d00
mov eax, dword [esp + 0x24]
mov word [eax + 0x12], 0
mov dword [eax + 0x24], 0x400
mov word [eax + 0x28], 0
mov byte [eax + 0x1c], 0
mov ecx, dword [edi]
movzx eax, word [eax + 0x2c]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jle 0x4b0da7
mov ebx, dword [esp + 0x14]
lea edi, [ecx + 7]
and edi, 0xfffffff8
lea edx, [edi*4]
mov ebp, dword [ebx]
mov ecx, ebp
push 0
call fcn.00435490
add esp, 4
test eax, eax
je 0x4b0fce
mov ebx, dword [esp + 0x24]
mov esi, eax
movzx eax, word [ebx + 0x2c]
shl eax, 2
push eax
push dword [ebx + 0x30]
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 0x30]
lea eax, [ebx + 0x38]
cmp edx, eax
je 0x4b0d98
mov ecx, ebp
call fcn.004352c0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], esi
mov word [eax + 0x2c], di
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
movzx ebx, word [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004b2400
add esp, 0x1c
mov ebp, eax
test eax, eax
jne 0x4b11a4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, esi
not ecx
mov dword [esp + 0x30], ecx
mov ebp, dword [eax]
not edx
mov dword [esp + 0x3c], edx
and ebp, edx
mov edx, dword [eax + 4]
mov eax, ebp
mov dword [esp + 0x50], ebp
and edx, ecx
or eax, edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
jne 0x4b0e13
xor ebp, ebp
test eax, eax
je 0x4b11a4
xor edx, edx
test eax, eax
mov dword [esp + 0x40], ebx
je 0x4b0fe3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004b2400
xor edx, edx
add esp, 0x1c
mov ebp, eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edi, dword [esp + 0x10]
mov esi, dword [eax + 4]
mov eax, dword [eax]
and esi, dword [esp + 0x30]
and eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
or eax, esi
mov eax, dword [esp + 8]
mov dword [esp + 0x48], esi
sete cl
test ebp, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ecx
jne 0x4b1168
jmp 0x4b1003
mov ecx, dword [esp + 4]
mov byte [ebx], 0x48
mov eax, dword [esp + 8]
inc ecx
mov ebx, dword [eax + 0xc]
nop
inc edx
add ebp, 0x30
cmp edx, ebx
jge 0x4b0ce0
mov eax, dword [ebp + 0x14]
mov edi, dword [esp]
cmp eax, dword [edi]
jne 0x4b0e90
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
and eax, dword [esp + 0x6c]
and edi, dword [esp + 0x70]
or edi, eax
jne 0x4b0e90
movzx eax, word [ebp + 0xc]
test eax, 0xf7ff
je 0x4b0e90
mov eax, dword [esp]
test byte [eax - 4], 8
je 0x4b0ed5
mov eax, dword [ebp]
test byte [eax + 4], 1
je 0x4b0e90
mov edi, ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 4], ecx
lea ebx, [ecx + ecx*2]
mov ecx, dword [esp + 0x30]
mov edi, 2
mov dword [ecx + ebx*4], eax
mov dword [ecx + ebx*4 + 8], edx
movzx eax, word [ebp + 0xc]
and eax, 0x1fff
cmp ax, 1
cmove eax, edi
cmp ax, 0x40
jne 0x4b0f18
movzx eax, byte [ebp + 0xf]
mov byte [ecx + ebx*4 + 4], al
mov ecx, dword [esp + 4]
jmp 0x4b0e87
test eax, 0x180
je 0x4b0f3a
cmp eax, 0x100
lea ebx, [ecx + ebx*4 + 4]
jne 0x4b0e80
mov ecx, dword [esp + 4]
mov byte [ebx], 0x47
jmp 0x4b0e87
test al, 0x3c
mov byte [ecx + ebx*4 + 4], al
je 0x4b0f0f
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov edi, ebx
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x10]
movzx ebx, byte [eax]
cmp bl, 0xad
jne 0x4b0f5e
movzx ebx, byte [eax + 2]
cmp bl, 0x88
je 0x4b0f71
cmp bl, 0xae
jne 0x4b0e87
add eax, 0x14
jmp 0x4b0f77
mov eax, dword [eax + 0x14]
add eax, 0x1c
mov eax, dword [eax]
cmp dword [eax], 2
jl 0x4b0e87
mov eax, 1
mov ecx, dword [esp + 4]
mov ebx, edi
mov edi, 0
shl eax, cl
mov ecx, dword [esp + 4]
cmp ecx, 0x10
cmovge eax, edi
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
lea edi, [eax + ebx*4 + 4]
mov eax, dword [esp + 0x10]
cmp ax, 4
je 0x4b0fc6
cmp ax, 0x10
jne 0x4b0e87
mov byte [edi], 8
jmp 0x4b0e87
mov byte [edi], 0x20
jmp 0x4b0e87
mov ecx, dword [ebx]
mov edx, dword [esp + 0x1c]
call fcn.004352c0
mov ebp, 7
jmp 0x4b121e
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x28], ecx
jmp 0x4b1020
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x4b1168
xor ebp, ebp
test edi, edi
mov dword [esp + 0x34], edx
mov dword [esp + 4], ebx
jle 0x4b1168
mov eax, dword [eax + 0x14]
mov dword [esp], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 4]
mov eax, 0xffffffff
add esi, 8
jmp 0x4b106b
add esi, 0xc
dec edi
mov eax, edx
mov dword [esp], ebx
je 0x4b10b0
mov ebx, dword [esi]
mov ecx, dword [esp + 0xc]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov ebp, dword [ecx + ebx + 0x24]
mov ebx, dword [ecx + ebx + 0x20]
mov ecx, dword [esp + 0x34]
and ebx, dword [esp + 0x3c]
and ebp, dword [esp + 0x30]
cmp dword [esp + 4], ebx
mov edx, ebp
sbb ecx, ebp
setb cl
cmp ebx, dword [esp]
sbb edx, eax
setb dl
test cl, dl
mov edx, ebp
jne 0x4b1060
mov ebx, dword [esp]
mov edx, eax
jmp 0x4b1060
mov eax, ebx
and eax, edx
cmp eax, 0xffffffff
je 0x4b1166
mov eax, ebx
mov ecx, edx
xor ebp, ebp
xor eax, dword [esp + 0x50]
xor ecx, dword [esp + 0x4c]
or ecx, eax
je 0x4b1010
mov eax, ebx
mov ecx, edx
xor eax, dword [esp + 0x44]
xor ecx, dword [esp + 0x48]
or ecx, eax
je 0x4b1010
mov ecx, dword [esp + 0x68]
mov eax, edx
mov edi, dword [esp + 0x20]
mov esi, ebx
lea ebp, [esp + 0x18]
mov dword [esp], edx
or eax, ecx
mov ecx, dword [esp + 0x2c]
or esi, edi
mov edx, edi
push ebp
push dword [esp + 0x44]
push dword [esp + 0x24]
push 0
push eax
push esi
mov esi, dword [esp + 0x80]
push esi
call fcn.004b2400
add esp, 0x1c
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
xor eax, esi
xor ecx, edi
or ecx, eax
jne 0x4b1151
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov ecx, 1
mov dword [esp + 0x38], 1
cmove eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
mov edx, dword [esp]
test ebp, ebp
je 0x4b1020
jmp 0x4b1168
xor ebp, ebp
or dword [esp + 0x38], ebp
je 0x4b1228
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
or eax, ebp
jne 0x4b11a4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push 1
push esi
push edx
push esi
call fcn.004b2400
add esp, 0x1c
mov ebp, eax
cmp dword [edi + 0x1c], 0
mov ecx, dword [esp + 0x14]
je 0x4b1215
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4b1215
cmp dword [0x51d1a8], 0
je 0x4b1207
mov eax, dword [0x51e858]
test eax, eax
je 0x4b11d1
push eax
call dword [0x51d1f8]
add esp, 4
push esi
call dword [0x51d1d4]
add esp, 4
sub dword [0x51e800], eax
dec dword [0x51e824]
push esi
call dword [0x51d1cc]
add esp, 4
mov eax, dword [0x51e858]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4b1215
push eax
call dword [0x51d200]
jmp 0x4b120e
push esi
call dword [0x51d1cc]
mov ecx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [ecx]
mov edx, edi
call fcn.004352c0
mov eax, ebp
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
mov ebx, dword [esp + 0x44]
push ebx
mov edi, dword [esp + 0x24]
push edi
push 0
mov esi, dword [esp + 0x78]
push esi
push edx
push esi
call fcn.004b2400
add esp, 0x1c
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov eax, 1
cmove ecx, eax
mov eax, ecx
or eax, ebp
jne 0x4b11a4
jmp 0x4b1186