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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [esp + 0x92]
mov word [esp + 0x90], 0xfeb6
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x7c], 0x7ea835df
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x4d70b50b
mov byte [esp + 0x4f], 0xcc
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
imul eax, ebx, 0x164238e3
mov dword [esp + 0x88], eax
mov al, byte [esp + 0x8f]
mov ah, al
xor ah, ah
mov byte [esp + 0x8f], ah
cmp dword [ebp + 8], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
mov word [esp + 0x22], dx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], al
je 0x10004bf1
jmp 0x10004a89
mov eax, dword [esp + 0x28]
or eax, 0x8051840
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
jmp 0x10004c08
mov al, byte [esp + 0x17]
add al, 0xe7
mov byte [esp + 0x8f], al
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov si, word [edx + ecx*2]
mov word [esp + 0x3a], si
movzx ecx, word [esp + 0x3a]
mov word [esp + 0x92], 0x240c
cmp ecx, 0x41
jge 0x10004ca9
jmp 0x10004b49
mov eax, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], eax
add ecx, 1
mov eax, dword [esp + 0x28]
add eax, 0x2eeb01d4
mov dword [esp + 0x88], eax
mov dword [esp + 0x44], ecx
jmp 0x100049c8
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
add ecx, 0x8157ca21
cmp eax, ecx
je 0x1000496c
jmp 0x10004bdb
mov eax, dword [esp + 0x28]
imul ecx, eax, 0x3940fdde
mov edx, dword [esp + 0x78]
mov dword [esp + 0x88], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x34], ecx
jmp 0x10004c08
mov eax, 0x7cba62d9
cmp eax, dword [esp + 0x3c]
jne 0x10004c21
jmp 0x100049e0
cmp dword [ebp + 0xc], 0
jne 0x10004864
jmp 0x10004cbc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], 0x160b1116
sub eax, 0x49aa12b8
sbb ecx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jb 0x10004b6b
jmp 0x10004921
jmp 0x10004944
mov cx, word [esp + 0x22]
mov ax, cx
xor eax, 0x2b2e
mov dx, ax
mov word [esp + 0x92], dx
mov eax, dword [esp + 0x7c]
mov esi, 0x7ea83640
sub esi, eax
movzx eax, word [esp + 0x3a]
lea eax, [esi + eax - 0x41]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xfdd173fd
mov dx, ax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov word [esp + 0x3a], dx
jmp 0x10004b49
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
shr ecx, 1
cmp eax, ecx
jb 0x10004881
jmp 0x10004944
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
jmp 0x10004a76
mov byte [esp + 0x8f], 0xd3
mov dword [esp + 0x34], 0
jmp 0x10004c08
mov al, byte [esp + 0x17]
mov byte [esp + 0x8f], al
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov dword [esp + 0x50], ecx
jmp 0x10004a76
mov eax, 0x7ea835df
mov ecx, dword [esp + 0x54]
movzx edx, word [esp + 0x3a]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0xca77f83
cmp ecx, edx
sete bl
and bl, 1
movzx ecx, bl
mov si, word [esp + 0x22]
add si, 0xacb3
mov word [esp + 0x92], si
mov dword [esp + 0x74], ecx
movzx ecx, word [esp + 0x3a]
sub eax, dword [esp + 0x7c]
cmp ecx, eax
je 0x1000496c
jmp 0x100048e9
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jne 0x10004b6b
jmp 0x100049ef
mov ax, 0xb18
mov cx, 0xe1ef
mov dl, byte [esp + 0x17]
mov byte [esp + 0x8f], dl
mov word [esp + 0xa], ax
mov word [esp + 8], cx
call fcn.10004400
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xe0cc711f
mov eax, dword [esp + 0x6c]
mov esi, 0x14b7507c
mov edi, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, edi
mul esi
mov esi, dword [esp + 0x18]
imul ebx, esi, 0x14b7507c
add edx, ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov cx, word [esp + 0x90]
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov si, word [esp + 8]
sub si, cx
mov word [esp + 0x42], si
mov cx, word [esp + 0x42]
mov al, byte [esp + 0x17]
or al, 0xd8
mov byte [esp + 0x8f], al
add edx, 0x14
mov dword [esp + 0x70], edx
mov al, byte [esp + 0x17]
or al, 0x21
mov byte [esp + 0x8f], al
mov si, word [esp + 0xa]
cmp si, cx
jne 0x10004a04
jmp 0x1000496e
mov al, 0xd1
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x44]
movzx ecx, word [ecx + edx*2]
mov ah, byte [esp + 0x4f]
mov dword [esp + 0x54], ecx
cmp al, ah
jne 0x10004a1b
jmp 0x10004cbc
xor eax, eax
mov ecx, eax
add ecx, 8
sub eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x88], 0x6caaf1b2
movzx eax, word [eax + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x30]
mov dx, word [esp + 0x22]
xor dx, 0x30a9
mov word [esp + 0x92], dx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dx, word [esp + 0x22]
add dx, 0xdf9f
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0xc]
mov word [esp + 0x92], dx
cmp eax, ecx
je 0x10004935
jmp 0x10004cbc
mov ax, word [esp + 0x22]
sub ax, 0x6d78
mov word [esp + 0x92], ax
jmp 0x100048bc
mov eax, dword [ebp + 0xc]
mov word [esp + 0x92], 0xf75c
cmp eax, 0
je 0x10004c3d
jmp 0x10004a89
mov al, byte [esp + 0x17]
or al, al
mov byte [esp + 0x8f], al
mov eax, dword [esp + 0x34]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x74]
mov word [esp + 0x92], 0x257c
cmp eax, 0
jne 0x10004900
jmp 0x100049e0
mov eax, 0xffffffff
mov dword [esp + 0x34], eax
mov cx, word [esp + 0x22]
or cx, 0x7c83
mov word [esp + 0x92], cx
jmp 0x10004c08
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
add ecx, 0x8157ca21
mov dl, byte [esp + 0x17]
mov byte [esp + 0x8f], dl
mov si, word [esp + 0x22]
sub si, 0xa58b
xor eax, 0x7ea835df
mov word [esp + 0x92], si
mov dword [esp + 0x74], eax
mov si, word [esp + 0x22]
add si, 0xaf53
mov word [esp + 0x92], si
mov dword [esp + 0x44], ecx
jmp 0x100049c8
movzx eax, word [esp + 0x3a]
cmp eax, 0x5a
jle 0x1000496e
jmp 0x10004b49
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x717cdd3f
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
xor ecx, 0x1e62e946
or ecx, eax
mov dword [esp], ecx
jne 0x10004c5a
jmp 0x10004881