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

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
mov cl, byte [esp + 0xb3]
mov byte [esp + 0xa7], 0x6e
mov dl, 0xa6
mov dword [esp + 0x3c], eax
mov al, cl
mul dl
mov byte [esp + 0xb3], al
mov dword [esp + 0x98], 0x3f743f5b
mov si, word [esp + 0x9e]
mov byte [esp + 0x6f], 0x5d
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov eax, 0x32263fe1
mov dword [esp + 0x38], eax
mov eax, edi
mov edx, dword [esp + 0x38]
mul edx
mov dword [esp + 0x34], eax
imul eax, ebx, 0x32263fe1
add edx, eax
mov ch, byte [esp + 0x6f]
mov al, byte [esp + 0xa7]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov al, byte [esp + 0x33]
cmp ch, al
mov byte [esp + 0x32], cl
mov word [esp + 0x30], si
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
jne 0x10004c46
jmp 0x10004e77
mov cx, word [esp + 0x30]
mov ax, cx
mov word [esp + 0x9e], cx
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], edx
mov dword [edi], edx
mov dword [esp + 0x24], eax
call fcn.10005390
mov eax, dword [esp + 0x88]
add eax, 0x2978
mov edx, dword [esp + 0x84]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
imul edx, edx, 0xffffd56b
mov cx, dx
mov edx, dword [esp + 0x84]
mov word [esp + 0x9e], cx
add eax, 0xc08bc0a5
mov byte [esp + 0xb3], 0xe1
mov dword [edx + 4], 0x1d400
mov edx, dword [esp + 0x88]
mov byte [esp + 0xb3], 0
add edx, 0x8ae
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x2c]
and edi, 0x6177d70e
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], 0
mov dword [esi], edx
mov edx, dword [esp + 0x84]
mov dword [edx + 0x14], 0x2050
lea esp, [ebp - 0xc]
pop esi
pop ebx
pop edi
pop ebp
ret
mov word [esp + 0x9e], 0xbedc
mov eax, dword [esp + 0x28]
not eax
mov ecx, dword [esp + 0x2c]
not ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
imul eax, eax, 0x128
mov edx, dword [ecx + eax + 0x40]
mov dword [esp + 0x80], edx
mov dword [esp + 0xa0], 0x7af6481e
mov eax, dword [ecx + eax + 0x38]
mov bl, byte [esp + 0x32]
mov byte [esp + 0xb3], bl
mov dword [esp + 0x70], eax
add bl, 0x3a
mov eax, dword [esp + 0x70]
mov byte [esp + 0xb3], bl
mov ecx, dword [esp + 0x80]
xor ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x2c]
and eax, 0x171a1e36
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x2c]
add eax, 0x7b01c053
mov ecx, dword [esp + 0x28]
adc ecx, 0
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x80]
add edx, esi
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0xa0]
xor eax, 0x37b3cd72
mov dword [esp + 0xa0], eax
jmp 0x10004c9b
mov al, byte [esp + 0x32]
xor al, 0x85
mov byte [esp + 0xb3], al
mov ecx, dword [esp + 0xa0]
and ecx, 0x7f63d837
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa0], ecx
cmp edx, 0x12
jb 0x10004cab
jmp 0x10004a68
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov cx, word [esp + 0x30]
xor cx, 0xffff
mov word [esp + 0x9e], cx
call fcn.100011a0
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x74], 0
jmp 0x10004e77
mov eax, dword [esp + 0x64]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x10004c17
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x74], eax
jmp 0x10004e77
mov eax, dword [esp + 0x60]
mov cl, byte [esp + 0x32]
mov byte [esp + 0xb3], cl
mov si, word [esp + 0x30]
mov dx, si
mov edi, edx
and edi, 0x767a
mov bx, di
mov word [esp + 0x9e], bx
mov edi, dword [esp + 0x64]
imul edi, edi, 0x128
mov ecx, dword [eax + edi + 0x40]
mov dword [esp + 0x94], ecx
mov byte [esp + 0xb3], 0
mov ecx, dword [esp + 0xa0]
add ecx, 0x36585b45
mov dword [esp + 0xa0], ecx
mov cl, byte [esp + 0x32]
add cl, 0x68
mov byte [esp + 0xb3], cl
mov ecx, dword [eax + edi + 0xb0]
mov dword [esp + 0x90], ecx
mov ecx, 0xffffa241
sub ecx, edx
mov bx, cx
mov word [esp + 0x9e], bx
mov cl, byte [esp + 0x32]
add cl, 0x5e
mov byte [esp + 0xb3], cl
mov eax, dword [eax + edi + 0x38]
mov dword [esp + 0x7c], eax
mov cl, byte [esp + 0x32]
and cl, 0x98
mov byte [esp + 0xb3], cl
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x7c]
xor eax, edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x78]
add eax, edi
mov edi, dword [esp + 0x94]
mov ecx, esp
mov dword [ecx + 8], edi
mov dword [ecx + 4], edx
mov dword [ecx], eax
call fcn.100057c0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x78]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xac], ecx
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa8], edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x20], eax
jmp 0x10004c8b
xor eax, eax
mov ecx, 0x1000
mov edx, 4
mov bl, byte [esp + 0x32]
add bl, 0x59
mov byte [esp + 0xb3], bl
mov esi, esp
lea edi, [esp + 0x40]
mov dword [esi], edi
mov dword [esi + 8], 0xe
mov dword [esi + 4], 0x1002556b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
call fcn.10005c80
mov eax, esp
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
call fcn.10004eb0
mov ecx, dword [esp + 0x2c]
xor ecx, 0x4119bd0c
mov edx, dword [esp + 0x28]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x8c]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call eax
sub esp, 0x10
mov dword [esp + 0x88], eax
mov dword [esp + 0x64], 0
jmp 0x10004c17
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xa0]
xor ecx, 0xffffffff
mov edx, dword [esp + 0x98]
xor edx, 0x3f743f49
mov dword [esp + 0xa0], ecx
cmp eax, edx
jb 0x10004b36
jmp 0x10004dc6