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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov word [esp + 0xae], 0xe527
mov dl, byte [esp + 0xb7]
mov byte [esp + 0xb7], 0x3c
mov dword [esp + 0xa8], 0x1a8e721e
mov si, word [esp + 0xae]
mov di, 0x93b2
sub di, si
movzx ebx, word [esp + 0xb4]
mov si, bx
mov word [esp + 0x72], di
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0x2d34094f
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x5c], eax
add eax, 0xba3cf3a
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, 0x73be9a86
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x60]
sub eax, ecx
mov ecx, dword [esp + 0x58]
sbb ecx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa8]
xor eax, 0x1a8e7210
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov eax, esp
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x78]
mov dword [eax], ecx
mov dword [eax + 4], 0x100262e6
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x43], dl
mov word [esp + 0x40], si
mov dword [esp + 0x3c], ecx
call fcn.100065b0
mov eax, dword [esp + 0x44]
add eax, 0xffff9c18
mov si, ax
mov word [esp + 0xb4], si
mov eax, dword [esp + 0x60]
sub eax, 0x7cb83526
mov ecx, dword [esp + 0x48]
sbb ecx, 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jb 0x10004f10
jmp 0x10004e80
mov ax, word [esp + 0x40]
sub ax, ax
mov word [esp + 0xb4], ax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
xor ecx, 0x1ace721e
mov dl, byte [esp + 0x43]
or dl, 0x53
mov esi, dword [ebp + 0xc]
mov di, word [esp + 0x72]
mov byte [esp + 0xb7], dl
mov dword [esp], eax
mov dword [esp + 4], esi
mov word [esp + 0x32], di
mov dword [esp + 0x2c], ecx
call fcn.100063e0
mov di, 0x22c2
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xa0], eax
mov bx, word [esp + 0x32]
cmp di, bx
je 0x10004f41
jmp 0x10005061
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xb8], 0xaa152f27
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.10005b20
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x6c], 0
je 0x10004fe4
xor eax, eax
mov ecx, 0x6000
mov edx, 0x1a8e725e
mov si, word [esp + 0x40]
and si, 0x6035
mov word [esp + 0xb4], si
mov edi, dword [esp + 0xa8]
mov bl, byte [esp + 0x43]
and bl, 0x16
mov esi, dword [esp + 0x6c]
mov byte [esp + 0xb7], bl
mov ebx, dword [0x1002c370]
sub edx, edi
mov dword [esp], 0
mov dword [esp + 4], 0x6000
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call esi
sub esp, 0x10
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
add eax, 0x1e21
mov word [esp + 0xb4], 0x359
mov dword [0x1002c36c], eax
mov eax, dword [0x1002c36c]
mov cl, byte [esp + 0x43]
or cl, 0xf1
mov byte [esp + 0xb7], cl
cmp eax, 0
jne 0x10004e98
jmp 0x10005011
mov al, byte [esp + 0x43]
or al, 0x52
mov byte [esp + 0xb7], al
mov dword [0x1002c36c], 0
mov ecx, dword [esp + 0x5c]
xor ecx, 0x46716568
mov dword [esp + 0xb0], ecx
jmp 0x10004e80
xor eax, eax
mov ecx, 0x2400
mov edx, 0x8000
mov esi, 2
mov dword [esp], 0
mov dword [esp + 4], 0x2400
mov dword [esp + 8], 0x8000
mov dword [esp + 0xc], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
call dword [esp + 0x6c]
sub esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x10004e80
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
jmp 0x10004e80