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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov word [esp + 0xa0], 0x6238
mov dword [esp + 0x8c], 0x6c42
mov byte [esp + 0x77], 7
mov edx, dword [esp + 0x8c]
mov esi, edx
add esi, 0xffffa5e3
mov dword [esp + 0x44], esi
mov dword [esp + 0x70], 0x2276
mov bl, byte [esp + 0x97]
mov bh, 0x1a
mov dword [esp + 0x24], eax
mov al, bl
mul bh
mov byte [esp + 0x97], al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x1852
mov di, word [esp + 0xa2]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], bl
mov dword [esp + 0x1c], edx
mov word [esp + 0x1a], di
call fcn.004034f0
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x403410
mov al, 0x97
cmp al, byte [esp + 0x77]
je 0x403436
jmp 0x4033bb
mov ax, 0xc1f8
xor ecx, ecx
mov edx, ecx
add edx, 8
sub ecx, edx
mov bl, byte [esp + 0x23]
and bl, 0xcd
mov edx, dword [esp + 0x5c]
movzx esi, word [esp + 0xa0]
add esi, 0xfffff48b
mov di, si
mov byte [esp + 0x97], bl
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x68], xmm0
add edx, ecx
mov dword [esp + 0x28], edx
mov word [esp + 0x62], di
mov di, word [esp + 0x62]
mov ecx, dword [esp + 0x28]
movzx ecx, word [ecx + 0x2c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x2c
sub ax, word [esp + 0xa0]
mov dword [esp + 0x7c], ecx
cmp di, ax
jae 0x4032d5
jmp 0x403239
mov dword [esp + 0x54], 0
jmp 0x403393
mov eax, 0xa514
mov cx, word [esp + 0x1a]
xor cx, 0xffff
mov word [esp + 0xa2], cx
sub eax, dword [esp + 0x8c]
cmp dword [esp + 0x70], eax
jb 0x4034b0
jmp 0x40312a
mov eax, dword [esp + 0x8c]
xor eax, 0x6c43
add eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
jmp 0x4032d5
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
jmp 0x403410
mov eax, dword [esp + 0x8c]
xor eax, 0x4143
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
cmp eax, edx
jne 0x4032a7
jmp 0x403489
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
mov byte [esp + 0x97], 0xd1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov esi, 0x535
sub esi, eax
sbb edx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
jb 0x403489
jmp 0x403436
mov eax, 0x6c42
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
xor edx, 0x6c42
sub eax, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], edx
jmp 0x4032d5
jmp 0x4031f0
mov eax, dword [esp + 0x1c]
or eax, 0x5571
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
xor ecx, 0x6c42
cmp eax, ecx
jne 0x4033a1
jmp 0x403209
mov eax, dword [esp + 0x1c]
or eax, 0x3a45
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
xor edx, 0x6c40
xor esi, esi
mov dword [esp + 4], edx
mov edx, esi
mov esi, dword [esp + 4]
div esi
cmp ecx, eax
jb 0x40345e
jmp 0x403218
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
jmp 0x403393
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
mov dx, word [ecx + eax*2]
movzx eax, word [esp + 0x60]
movzx ecx, dx
cmp ecx, eax
sete bl
mov bh, byte [esp + 0x23]
add bh, 0x41
mov byte [esp + 0x97], bh
and bl, 1
movzx eax, bl
mov dword [esp + 0x64], eax
movzx eax, word [esp + 0x60]
cmp eax, 0
je 0x403449
mov eax, 0x6c42
mov word [esp + 0xa2], 0x6f37
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x8c]
mov dl, byte [esp + 0x23]
mov byte [esp + 0x97], dl
cmp ecx, eax
je 0x403449
jmp 0x4032a2
mov eax, dword [esp + 0x54]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
or eax, eax
mov dword [esp + 0x90], eax
jmp 0x403393
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
mov dx, word [esp + 0x1a]
or dx, 0x51a1
xor ecx, 0x32f5
mov word [esp + 0xa2], dx
add eax, 0xfffff6cc
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x90], 0x680a
cmp eax, ecx
ja 0x40344e
jmp 0x4034b0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
or ecx, 0x4bec
mov edx, dword [esp + 0x48]
mov dword [esp + 0x90], ecx
cmp eax, edx
jne 0x40313b
jmp 0x4031b7
movzx eax, word [esp + 0x60]
cmp eax, 0x5a
jle 0x4031c4
jmp 0x403322
jmp 0x403218
cmp dword [esp + 0x34], 0
jne 0x403318
jmp 0x40327d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov dx, word [eax + ecx*2]
mov word [esp + 0x60], dx
mov eax, dword [esp + 0x8c]
xor eax, 0x6c03
movzx ecx, word [esp + 0x60]
cmp ecx, eax
jge 0x403436
jmp 0x403322
mov eax, dword [esp + 0x84]
mov cl, byte [esp + 0x23]
or cl, 0x69
mov byte [esp + 0x97], cl
mov eax, dword [eax + 0x18]
cmp eax, dword [esp + 0x2c]
je 0x40312a
jmp 0x40327d
mov ax, word [esp + 0x60]
mov ecx, dword [esp + 0x8c]
xor ecx, 0x6c23
movzx edx, ax
add ecx, edx
sub ecx, 0x41
mov ax, cx
mov word [esp + 0x60], ax
mov ax, word [esp + 0x1a]
xor ax, 0xffff
mov word [esp + 0xa2], ax
jmp 0x403322