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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov dword [ebp - 0x20], 0
mov word [ebp - 0x8a], 0
mov word [ebp - 0x8c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x18
cmp dword [ebp + 8], 0
jne 0x41e765
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x41ed3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
cmp eax, 1
je 0x41ed3b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
and eax, 0xf
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41e80b
mov eax, dword [ebp + 8]
add eax, 0xc8
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc3b4be
mov dword [esp], eax
call fcn.00406bf1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x41e7cf
cmp dword [ebp - 0x34], 0
je 0x41e7cf
mov dword [ebp - 0x1c], 0xfffffff4
jmp 0x41ed3c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [ebp + 8]
mov word [eax + 0xa8], 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov word [ebp - 0x36], ax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x4e014]
mov eax, dword [eax + 0x4e010]
lea ecx, [ebp - 0x8c]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x8a]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409a6d
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], 0x8074b50
mov eax, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [ebp - 0x84]
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x84]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
lea eax, [ebp - 0xc0]
add eax, 4
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov edx, eax
mov eax, dword [ebp - 0x7c]
mov byte [eax], dl
mov eax, dword [ebp - 0x80]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x80]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x80]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
lea ecx, [ebp - 0xc0]
add ecx, 8
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov edx, eax
mov eax, dword [ebp - 0x6c]
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov eax, edx
xor edx, edx
mov edx, eax
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov edx, eax
mov eax, dword [ebp - 0x74]
mov byte [eax], dl
mov eax, dword [ebp - 0x78]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x74]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x78]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x74]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x78]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x74]
add eax, 3
mov byte [eax], dl
nop
nop
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
lea ecx, [ebp - 0xc0]
add ecx, 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov byte [eax], dl
mov eax, dword [ebp - 0x50]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x50]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x50]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, 3
mov byte [eax], dl
nop
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, edx
xor edx, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov edx, eax
mov eax, dword [ebp - 0x54]
mov byte [eax], dl
mov eax, dword [ebp - 0x58]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, 1
mov byte [eax], dl
mov eax, dword [ebp - 0x58]
shr eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, 2
mov byte [eax], dl
mov eax, dword [ebp - 0x58]
shr eax, 0x18
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, 3
mov byte [eax], dl
nop
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx + 0x44]
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0x10], esi
lea esi, [ebp - 0xc0]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call ecx
cmp dword [ebp - 0x2c], eax
je 0x41eab5
mov dword [ebp - 0x1c], 0xfffffff2
jmp 0x41ed3c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x2c]
mov ebx, 0
add eax, ecx
adc edx, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa0]
mov ebx, 0xfffffffe
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jae 0x41eb06
mov eax, dword [ebp + 8]
lea ebx, [eax + 0xa0]
jmp 0x41eb0b
mov ebx, 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov esi, 0xfffffffe
mov ecx, 0
cmp esi, eax
sbb ecx, edx
jae 0x41eb2c
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x68]
jmp 0x41eb31
mov ecx, 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov edi, 0xfffffffe
mov esi, 0
cmp edi, eax
sbb esi, edx
jae 0x41eb52
mov eax, dword [ebp + 8]
add eax, 0x60
jmp 0x41eb57
mov eax, 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00412ba1
mov dword [ebp - 0x28], eax
cmp word [ebp - 0x36], 0
je 0x41ebcd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
movzx edx, word [ebp - 0x36]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x41eba7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
movzx edx, word [ebp - 0x36]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x41ebcd
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov ecx, eax
or ecx, edx
jne 0x41ebcd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4e008]
or eax, 0x10
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x4e008], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4e008]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov ebx, dword [eax + 0xa4]
movzx eax, word [ebp - 0x8c]
movzx edi, ax
mov dword [ebp - 0xd0], edi
movzx eax, word [ebp - 0x8a]
movzx esi, ax
mov dword [ebp - 0xd4], esi
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0xa8]
movzx edx, ax
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
mov dword [ebp - 0xdc], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x60]
mov edi, dword [eax + 0x64]
mov eax, dword [ebp - 0x28]
movzx edx, ax
mov dword [ebp - 0xe0], edx
movzx edx, word [ebp - 0x36]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ebp - 0xcc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov ebx, dword [ebp - 0xd0]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp - 0xd4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x808
mov ebx, dword [ebp - 0xd8]
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp - 0xdc]
mov dword [esp + 0x2c], ebx
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xe4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xc3b4be
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0041369c
test eax, eax
jne 0x41ed19
mov dword [ebp - 0x1c], 0xfffffff1
jmp 0x41ed3c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x41ed3c
nop
cmp dword [ebp + 8], 0
je 0x41ed85
mov eax, dword [ebp + 8]
mov dword [eax + 0x4e010], 0
mov dword [eax + 0x4e014], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x41ed85
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp - 0x1c]
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret