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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0x12c2
mov esi, 0x12c1
mov word [esp + 0xae], 0x1a94
mov dword [esp + 0xa8], 0x12c2
mov edi, 0x12c2
mov dword [esp + 0x54], 0x26
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edx
call fcn.00403ab0
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov esi, ecx
or esi, 0x5eea
mov edi, dword [eax + 0x3c]
lea eax, [eax + edi + 4]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], esi
add eax, 0x14
mov dword [esp + 0x64], eax
mov bl, byte [esp + 0xad]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
mov bh, bl
xor bh, 0xff
mov byte [esp + 0xad], bh
add esi, dword [eax + 0x60]
mov dword [esp + 0x60], esi
mov si, word [esp + 0xba]
mov di, si
add di, di
mov word [esp + 0xba], di
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
mov word [esp + 0x36], si
or si, si
mov word [esp + 0xba], si
add eax, dword [edi + 0x20]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x74]
mov si, word [esp + 0x36]
xor si, 0xffff
mov word [esp + 0xba], si
mov edi, dword [esp + 0x60]
mov byte [esp + 0xad], 0x11
add eax, dword [edi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x2b], bl
mov eax, 0x26bd
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x90]
mov di, word [esp + 0x36]
xor di, 0xffff
xor ecx, 0x292a
sub eax, edx
mov word [esp + 0xba], di
mov dword [esp + 0x4c], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x88], eax
cmp ecx, edx
jb 0x404a7c
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x18]
cmp dword [esp + 0x4c], eax
jae 0x404b6c
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x54]
xor eax, 0x264a
cmp eax, ecx
jae 0x404aea
xor eax, eax
mov ecx, 0x1526
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa8]
xor edx, 0x3f8
xor edi, 0x7b56
xor esi, 0x3db3
sub ecx, ebx
mov ebx, esp
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [ebx + 0x10], 0
mov dword [ebx + 8], 0
mov ecx, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov dword [esp + 0x24], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
add eax, dword [edx + ecx*4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407050
cmp eax, dword [esp + 0x8c]
jne 0x404b30
mov eax, dword [esp + 0x58]
movzx eax, word [eax]
mov dword [esp + 0x80], eax
jmp 0x404b6c
mov eax, dword [esp + 0x58]
add eax, 2
mov dword [esp + 0x58], eax
mov ax, word [esp + 0x36]
and ax, 0x5907
mov ecx, dword [esp + 0xa8]
xor ecx, 0x12c3
mov word [esp + 0xba], ax
add ecx, dword [esp + 0x90]
mov dword [esp + 0x90], ecx
jmp 0x404a00
mov eax, 0x12c1
mov word [esp + 0xba], 0x1e1c
sub eax, dword [esp + 0xa8]
cmp dword [esp + 0x80], eax
jne 0x404be8
mov word [esp + 0x9a], 0x6622
mov ax, word [esp + 0x9a]
mov word [esp + 0x4a], ax
mov word [esp + 0x52], 0x680b
mov ax, word [esp + 0x52]
mov cx, word [esp + 0xae]
add cx, 0x1f95
cmp cx, ax
ja 0x404b20
mov ax, 0x755c
sub ax, word [esp + 0xae]
cmp word [esp + 0x4a], ax
jb 0x404b30
mov dword [esp + 0x6c], 0
jmp 0x404cfd
mov ax, 0x1e7a
mov cx, word [esp + 0xae]
mov dx, word [esp + 0xae]
add dx, 0x4411
sub ax, cx
mov word [esp + 0x7e], ax
mov ax, word [esp + 0x36]
imul cx, ax, 0x6445
mov si, word [esp + 0x7e]
mov word [esp + 0xba], cx
cmp si, dx
jae 0x404b3b
mov eax, dword [esp + 0xa8]
xor eax, 0xbbb
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
xor eax, 0x1aab
mov edx, dword [esp + 0x68]
mov dword [esp + 0xa4], ecx
cmp edx, eax
je 0x404b20
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x1c]
mov dl, byte [esp + 0x2b]
mov byte [esp + 0xad], dl
add eax, ecx
mov dword [esp + 0x9c], eax
mov si, word [esp + 0x36]
mov word [esp + 0xba], si
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0xad], dl
mov edi, 0x69f5
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, ebx
mul edi
mov edi, dword [esp + 0x30]
imul esi, edi, 0x69f5
add edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x70], ecx
mov al, byte [esp + 0x2b]
or al, 0x7c
mov byte [esp + 0xad], al
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x70]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x6c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret