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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5cf2
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x10001840]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x68], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 1
lea ebx, [esi + 8]
mov dword [ebp - 0x68], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.10050310
mov dword [ebx], eax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x1004e4db
mov eax, dword [edi]
jmp 0x1004e4dd
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.10072560
mov byte [ebp - 4], 7
mov ecx, esi
push eax
call fcn.1004f590
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x1004e52a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1004e52a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004e52a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
test eax, eax
je 0x1004ebac
cmp dword [eax], 0
je 0x1004ebac
test eax, eax
jne 0x1004e548
xor edx, edx
jmp 0x1004e54a
mov edx, dword [eax]
mov edi, dword [edx + 0x3c]
add edi, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0xb4], edi
mov ecx, dword [edi + 0x78]
add ecx, edx
mov dword [ebp - 0x78], ecx
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
add eax, edx
mov dword [ebp - 0xb8], eax
add ebx, edx
mov eax, dword [ecx + 0x24]
add eax, edx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ecx + 0x18], eax
jbe 0x1004eb84
lea esp, [esp]
mov ecx, dword [ebp - 0x94]
mov esi, dword [ebx + eax*4]
add esi, edx
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0xb8]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x78]
cmp ebx, ecx
jb 0x1004e926
mov eax, dword [edi + 0x7c]
add eax, ecx
cmp ebx, eax
jae 0x1004e926
add edx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
cmp byte [edx], 0
mov byte [ebp - 0x2c], 0
jne 0x1004e5eb
xor ecx, ecx
jmp 0x1004e5f9
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e5f0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10010290
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x14]
push 1
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x14], 0x2e
call fcn.10016fa0
mov edi, eax
lea ecx, [ebp - 0x2c]
push edi
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.100341f0
mov byte [ebp - 4], 0xe
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.1004de80
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x11c], 0x10
jb 0x1004e658
push dword [ebp - 0x130]
call fcn.100aafe6
add esp, 4
push 0xffffffffffffffff
lea eax, [edi + 1]
mov dword [ebp - 0x11c], 0xf
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x120], 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x130], 0
call fcn.100341f0
mov byte [ebp - 4], 0x11
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.1004de80
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x138], 0x10
jb 0x1004e6b1
push dword [ebp - 0x14c]
call fcn.100aafe6
add esp, 4
cmp byte [esi], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x1004e6f8
xor ecx, ecx
jmp 0x1004e709
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e700
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.10010290
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xe4]
call fcn.1004e2b0
mov byte [ebp - 4], 0x15
sub esp, 8
mov esi, esp
mov dword [ebp - 0x64], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov edi, dword [eax + 4]
mov ebx, dword [eax]
test edi, edi
je 0x1004e756
lea eax, [edi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1004e76e
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004e76e
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 4], edi
mov dword [esi], ebx
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x170]
call fcn.1004ec30
mov esi, eax
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x118]
call fcn.1004de80
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x60]
push esi
push eax
lea ecx, [ecx + 8]
call fcn.1004f640
mov ecx, eax
call fcn.1004efb0
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x104], 8
jb 0x1004e7d4
push dword [ebp - 0x118]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0x104], 7
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x1004e810
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004e810
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x158], 8
jb 0x1004e82b
push dword [ebp - 0x16c]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0x158], 7
mov dword [ebp - 0x15c], 0
mov word [ebp - 0x16c], ax
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0xe0]
test esi, esi
je 0x1004e87b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1004e87b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004e87b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x7c], 0x10
jb 0x1004e893
push dword [ebp - 0x90]
call fcn.100aafe6
add esp, 4
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x48], 8
jb 0x1004e8bd
push dword [ebp - 0x5c]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x30], 8
jb 0x1004e8e6
push dword [ebp - 0x44]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0x10
jb 0x1004e90f
push dword [ebp - 0x2c]
call fcn.100aafe6
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x1004eb65
cmp byte [esi], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jne 0x1004e95e
xor ecx, ecx
jmp 0x1004e96c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004e963
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xac]
call fcn.10010290
mov byte [ebp - 4], 0x1b
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x1c
xor edi, edi
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edi
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x100]
call fcn.1004de80
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x60]
push eax
lea ecx, [ecx + 8]
call fcn.1004fa40
mov ecx, dword [ebp - 0x60]
mov esi, eax
cmp esi, dword [ecx + 8]
je 0x1004ea1e
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x1004ea06
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [ebp - 0x64]
mov ecx, eax
push dword [eax + 0x10]
push 0
call fcn.10050b90
test eax, eax
jns 0x1004ea50
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
push ecx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push ecx
lea ecx, [ecx + 8]
call fcn.100511b0
mov ecx, dword [ebp - 0x60]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ecx + 8]
call fcn.10051270
mov esi, dword [ebp - 0xb0]
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], ebx
lea eax, [ebp - 0xd8]
cmp ecx, eax
je 0x1004ea70
push 0xffffffffffffffff
push 0
push eax
call fcn.100104a0
mov edi, dword [ebp - 0xbc]
test edi, edi
je 0x1004ea80
lea eax, [edi + 8]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x1004ea98
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004ea98
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xec], 8
jb 0x1004eabf
push dword [ebp - 0x100]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 0x20
test edi, edi
je 0x1004eaf7
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1004eaf7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0xc4], 8
jb 0x1004eb12
push dword [ebp - 0xd8]
call fcn.100aafe6
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x98], 0x10
jb 0x1004eb4a
push dword [ebp - 0xac]
call fcn.100aafe6
add esp, 4
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
inc eax
mov edx, dword [ebp - 0x70]
mov edi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
cmp eax, dword [ecx + 0x18]
jb 0x1004e590
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ac8ee
mov esp, ebp
pop ebp
ret 4
mov edx, edi
lea ecx, [ebp - 0x100]
call fcn.1004dfb0
mov esi, eax
mov byte [ebp - 4], 9
call fcn.1004ed90
push eax
lea ecx, [ebp - 0x208]
call fcn.10013c20
mov byte [ebp - 4], 0xa
mov edx, esi
mov ecx, eax
call fcn.1001c640
mov edx, eax
lea ecx, [ebp - 0x118]
call fcn.10013db0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x1004ebf6
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x68]
push eax
call fcn.100ab948
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xe8], vtable.message_exception.0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xe8]
push 0x101230f0
push eax
call fcn.100b15bb
int3