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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 8]
mov word [esp + 0xa4], 0xaa98
mov dword [esp + 0x94], 0xc03e5f9
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call fcn.10001160
mov dword [esp + 0x6c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, eax
or edx, 0xafc7c6d
mov dword [esp + 0x98], edx
mov dword [esp + 0x7c], 0
mov si, word [esp + 0xa4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov word [esp + 0x32], si
jmp 0x10004bde
lea eax, [0x1002557f]
mov ecx, 0xe
lea edx, [esp + 0x48]
mov si, word [esp + 0x32]
xor si, 0xffff
mov word [esp + 0xa4], si
mov bl, byte [esp + 0xa7]
add bl, byte [esp + 0xa7]
mov byte [esp + 0xa7], bl
mov edi, dword [esp + 0x94]
add edi, 0xf3fc1a0b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
call fcn.10005a50
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.10004df0
xor ecx, ecx
mov edx, 0x1000
mov si, word [esp + 0x32]
add si, 0x53ac
mov word [esp + 0xa4], si
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov bl, byte [esp + 0xa7]
mov bh, 0xa
mov dword [esp + 0x24], eax
mov al, bl
mul bh
mov byte [esp + 0xa7], al
mov edi, dword [esp + 0x88]
mov byte [esp + 0xa7], 0x18
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
call edi
sub esp, 0x10
mov dword [esp + 0x8c], eax
mov dword [esp + 0x68], 0
jmp 0x10004d47
mov eax, dword [esp + 0x38]
or eax, 0x1a320833
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
imul edx, edx, 0x128
mov esi, dword [esp + 0x34]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], eax
mov eax, dword [ecx + edx + 0x40]
mov dword [esp + 0x70], eax
mov byte [esp + 0xa7], 0x2c
mov eax, dword [ecx + edx + 0x38]
mov ecx, dword [esp + 0x38]
or ecx, 0x48f2f224
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
xor eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa8], ecx
add eax, dword [esp + 0x88]
mov dword [esp + 0x88], eax
jmp 0x10004d2b
mov eax, dword [esp + 0x3c]
and eax, 0x53c93848
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xa8], eax
cmp ecx, 0x12
jb 0x10004b51
jmp 0x10004a5f
mov eax, dword [esp + 0x68]
add eax, 1
mov dword [esp + 0x68], eax
mov cx, word [esp + 0x32]
or cx, 0x73f2
mov word [esp + 0xa4], cx
jmp 0x10004d47
mov cx, word [esp + 0x32]
mov ax, cx
and eax, 0x3aac
mov dx, ax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
imul esi, esi, 0x128
mov word [esp + 0xa4], dx
mov edi, dword [eax + esi + 0x40]
mov dword [esp + 0x74], edi
mov byte [esp + 0xa7], 0x98
mov edi, dword [eax + esi + 0xb0]
mov dword [esp + 0x84], edi
mov eax, dword [eax + esi + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x44]
xor eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xa8], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x38]
xor edi, 0x4ceef163
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x9c], edi
add eax, ebx
mov ebx, dword [esp + 0x38]
and ebx, 0x5d2c65e6
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
mov dword [edi], eax
call fcn.100056e0
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
imul edi, ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, ebx
mul ebx
add edx, edi
add edx, edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
add esi, edi
mov dword [esp + 0x80], esi
jmp 0x10004c00
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x94]
xor ecx, 0xc03e5f8
add eax, ecx
mov dword [esp + 0x7c], eax
jmp 0x10004bde
cmp dword [esp + 0x68], 0x12
jb 0x10004c22
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dword [esp + 0x14], eax
call fcn.100051b0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x8c]
add ecx, 0x2ba5
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x1d400
mov byte [esp + 0xa7], 0xb2
mov eax, dword [esp + 0x8c]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x38]
add edx, 0x8ac9a87b
mov esi, dword [esp + 0x34]
adc esi, 0xffffffff
add eax, 0xb27
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edx
mov dword [ecx + 0x1c], eax
mov dword [esp + 0xa8], 0x5abfcc3c
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x2050
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret