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

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
mov esi, eax
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x1c], edx
xor edx, edx
lea eax, [ebx + eax*8]
mov dword [esp + 0x14], eax
jmp 0x40b24d
add ebx, 8
cmp dword [esp + 0x14], ebx
je 0x40b2e4
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
and ecx, eax
cmp eax, ecx
jne 0x40b240
test dl, dl
mov edi, dword [esi + 4]
jne 0x40b49a
cmp byte [esp + 0x2a], 0
je 0x40b492
mov eax, dword [esi]
lea ecx, [esi + 8]
lea ebp, [edi + 1]
mov edx, 0xf
cmp eax, ecx
je 0x40b283
mov edx, dword [esi + 8]
cmp ebp, edx
ja 0x40b4e3
movzx edx, byte [esp + 0x2a]
mov byte [eax + edi], dl
mov eax, dword [esi]
mov dword [esi + 4], ebp
mov byte [eax + ebp], 0
mov edi, dword [esi + 4]
mov ebp, dword [ebx + 4]
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov edx, 0x7fffffff
sub edx, edi
cmp eax, edx
ja 0x40b611
mov dword [esp + 4], eax
mov dword [esp], ebp
mov ecx, esi
call fcn.00440010
mov eax, dword [ebx]
sub esp, 8
add ebx, 8
mov edx, 1
not eax
and dword [esp + 0x18], eax
cmp dword [esp + 0x14], ebx
jne 0x40b24d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40b42b
test dl, dl
mov ebx, dword [esi + 4]
jne 0x40b510
cmp byte [esp + 0x24], 0
jne 0x40b560
test dl, dl
jne 0x40b510
mov ebp, dword [esp + 0x20]
mov edi, 0x7fffffff
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov edx, edi
sub edx, ebx
cmp eax, edx
ja 0x40b611
mov dword [esp + 4], eax
mov dword [esp], ebp
mov ecx, esi
call fcn.00440010
sub edi, dword [esi + 4]
sub esp, 8
cmp edi, 2
jbe 0x40b611
mov ecx, esi
mov dword [esp + 4], 3
mov dword [esp], 0x449515
call fcn.00440010
sub esp, 8
mov ecx, 0x1c
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov ebp, edi
lea eax, [ebx + 1]
lea edx, [ecx - 4]
shr ebp, cl
and ebp, 0xf
jne 0x40b5c0
cmp eax, 7
mov ebx, eax
mov ecx, edx
jne 0x40b36c
mov eax, dword [esp + 0x18]
lea ebp, [esp + 0x3c]
shr eax, cl
and eax, 0xf
movzx eax, byte [eax + 0x45091c]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x3d]
mov edx, 0x7fffffff
sub edx, dword [esi + 4]
mov byte [eax], 0
sub eax, ebp
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
cmp edx, eax
jb 0x40b611
mov ecx, esi
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00440010
mov eax, dword [esi]
mov ebx, dword [esi + 4]
lea ecx, [esi + 8]
sub esp, 8
mov edx, 0xf
cmp eax, ecx
lea edi, [ebx + 1]
je 0x40b3ed
mov edx, dword [esi + 8]
cmp edi, edx
jbe 0x40b418
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004401e0
mov eax, dword [esi]
sub esp, 0x10
mov byte [eax + ebx], 0x29
mov eax, dword [esi]
mov edx, 1
mov dword [esi + 4], edi
mov byte [eax + ebx + 1], 0
cmp byte [esp + 0x1c], 0
je 0x40b48a
test dl, dl
je 0x40b48a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
lea ecx, [esi + 8]
mov edx, 0xf
cmp eax, ecx
lea edi, [ebx + 1]
je 0x40b44d
mov edx, dword [esi + 8]
cmp edi, edx
jbe 0x40b478
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004401e0
mov eax, dword [esi]
sub esp, 0x10
movzx edx, byte [esp + 0x1c]
mov byte [eax + ebx], dl
mov eax, dword [esi]
mov dword [esi + 4], edi
mov byte [eax + ebx + 1], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
test dl, dl
je 0x40b29f
mov eax, dword [esi]
lea ecx, [esi + 8]
lea ebp, [edi + 1]
mov edx, 0xf
cmp eax, ecx
je 0x40b4ae
mov edx, dword [esi + 8]
cmp ebp, edx
jbe 0x40b4d9
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.004401e0
mov eax, dword [esi]
sub esp, 0x10
movzx edx, byte [esp + 0x2b]
jmp 0x40b290
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.004401e0
mov eax, dword [esi]
sub esp, 0x10
jmp 0x40b28b
mov eax, dword [esi]
lea ecx, [esi + 8]
lea edi, [ebx + 1]
mov edx, 0xf
cmp eax, ecx
je 0x40b524
mov edx, dword [esi + 8]
cmp edi, edx
jbe 0x40b54f
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004401e0
mov eax, dword [esi]
sub esp, 0x10
movzx edx, byte [esp + 0x2c]
jmp 0x40b5a2
lea edx, [esi + 8]
cmp dword [esi], edx
lea edi, [ebx + 1]
mov eax, 0xf
je 0x40b572
mov eax, dword [esi + 8]
cmp edi, eax
jbe 0x40b59b
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004401e0
sub esp, 0x10
movzx edx, byte [esp + 0x24]
mov eax, dword [esi]
mov byte [eax + ebx], dl
mov eax, dword [esi]
mov dword [esi + 4], edi
mov byte [eax + edi], 0
mov ebx, dword [esi + 4]
jmp 0x40b30e
lea ebp, [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edi, ebp
sub edi, ebx
mov ebx, dword [esp + 0x18]
jmp 0x40b5e3
sub edx, 4
mov esi, ebx
shr esi, cl
mov ecx, esi
and ecx, 0xf
movzx ecx, byte [ecx + 0x45091c]
mov byte [edi + eax], cl
add eax, 1
mov ecx, edx
cmp eax, 8
jne 0x40b5e0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub eax, ebx
add eax, ebp
jmp 0x40b3a4
mov dword [esp], 0x449500
call fcn.00443ca0
lea esi, [esi]