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

Disassembly:
push 0xffffffffffffffff
push 0x10174137
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb0]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, 0xf
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0xa8], 1
cmp ecx, ebx
jl 0x1004e8b1
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x1004e8b1
mov esi, dword [ebp + 8]
sub esi, eax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x1004e8ac
mov edx, dword [esp + 0xb4]
add edx, ecx
cmp edx, ebx
mov dword [esp + 0x10], edx
jl 0x1004e872
cmp ecx, eax
ja 0x1004e872
cmp dword [esp + 0xb8], ebx
je 0x1004e7fc
mov dl, 0x34
mov al, 0x78
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x54], 0x25
mov byte [esp + 0x55], 0x49
mov byte [esp + 0x56], 0x36
mov byte [esp + 0x57], dl
mov byte [esp + 0x58], al
mov byte [esp + 0x59], 0x2d
mov byte [esp + 0x5a], 0x25
mov byte [esp + 0x5b], 0x49
mov byte [esp + 0x5c], 0x36
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], bl
call fcn.1004cc50
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x1004e766
mov eax, dword [eax + 4]
jmp 0x1004e769
add eax, 4
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.10113843
mov edx, dword [esp + 0x20]
add esp, 0x10
add edx, 0xffffffff
push edx
mov ecx, ebp
call fcn.1004cc50
cmp dword [eax + 0x18], esi
jb 0x1004e79a
mov eax, dword [eax + 4]
jmp 0x1004e79d
add eax, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.10113843
push 0x3f
lea edx, [esp + 0x71]
push ebx
push edx
mov byte [esp + 0x78], bl
call fcn.10112240
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.10112d57
add esp, 0x34
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x38]
call fcn.100071a0
jmp 0x1004e834
cmp ecx, edx
mov esi, ecx
jge 0x1004e834
cmp dword [esp + 0x48], ebx
jbe 0x1004e816
push 0x1017ba38
lea ecx, [esp + 0x38]
call fcn.10004380
push esi
mov ecx, ebp
call fcn.1004cc50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.10003cc0
add esi, 1
cmp esi, dword [esp + 0x10]
jl 0x1004e802
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
mov esi, 0xf
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10003e70
mov dword [esp + 0x14], 1
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x1004e8ec
mov edx, dword [esp + 0x38]
push edx
jmp 0x1004e8e4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10003e70
mov dword [esp + 0x14], 1
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x1004e8ec
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x1004e8e4
mov esi, 0xf
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x3c]
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10003e70
mov dword [esp + 0x14], 1
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x1004e8ec
mov eax, dword [esp + 0x38]
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10111b17
add esp, 0x9c
ret