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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x8cb
mov word [esp + 0x96], 0x180e
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
xor edi, edi
mov ebx, 0x6b54
sub ebx, edx
sbb edi, esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edi
mov byte [esp + 0x95], 0xe
mov dword [esp + 0x90], 0x62e0
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
call fcn.0041a8e0
mov ecx, 0x62df
mov si, word [esp + 0xb2]
mov di, si
xor di, 0xffff
mov word [esp + 0xb2], di
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
mov byte [esp + 0x43], 0x61
mov bl, byte [esp + 0x43]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
add eax, dword [edi + 0x60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
mov edi, edx
xor edi, 0xffffffff
mov dword [esp + 0x98], edi
mov eax, dword [eax + 0x64]
mov dword [esp + 0x44], eax
sub ecx, dword [esp + 0x90]
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x58]
mov byte [esp + 0x9f], bl
mov ecx, dword [esp + 0x54]
add eax, dword [ecx + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x98], edx
mov bh, byte [esp + 0x95]
add eax, dword [ecx + 0x24]
xor bh, 0x50
cmp bl, bh
mov word [esp + 0x32], si
mov byte [esp + 0x31], bl
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
je 0x41a84c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], 0
mov al, byte [esp + 0x31]
xor al, 0x6a
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x9f], al
mov edx, dword [esp + 0x54]
cmp ecx, dword [edx + 0x18]
jae 0x41a7e8
mov eax, 0x6a55
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, ecx
mov edx, dword [esp + 0x24]
mul edx
mov esi, dword [esp + 0x38]
imul edi, esi, 0x6a55
add edx, edi
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
xor eax, eax
mov edx, 0x3f83
sub edx, edi
sbb eax, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
sub edx, 0x555e
seta cl
or eax, eax
setne ch
mov byte [esp + 0x23], ch
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1b], cl
je 0x41a6f8
mov al, byte [esp + 0x23]
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
test al, al
jne 0x41a752
jmp 0x41a702
mov eax, dword [esp + 0x58]
mov cl, byte [esp + 0x31]
and cl, 0x96
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
mov byte [esp + 0x9f], cl
add eax, dword [esi + edx*4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0041ae40
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
or esi, 0x5bcd
mov dword [esp + 0x98], esi
cmp eax, edx
je 0x41a786
jmp 0x41a793
xor eax, eax
mov ecx, esp
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov ecx, dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x14], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
mov dword [esp + 0x5c], eax
jmp 0x41a7e8
mov eax, dword [esp + 0x6c]
add eax, 2
mov cx, word [esp + 0x32]
imul dx, cx, 0x57e7
mov word [esp + 0xb2], dx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x90]
add ecx, 0xffff9d21
mov edx, dword [esp + 0x34]
xor edx, 0x2ac6
mov esi, dword [esp + 0x38]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edx
add eax, ecx
mov dword [esp + 0x50], eax
jmp 0x41a660
mov ax, word [esp + 0x32]
mov word [esp + 0xb2], ax
mov cx, word [esp + 0x96]
xor cx, 0x6a63
mov word [esp + 0x7e], 0x4a3e
mov edx, dword [esp + 0x5c]
mov bl, byte [esp + 0x31]
and bl, 0xe
mov si, word [esp + 0x7e]
mov byte [esp + 0x9f], bl
mov dword [esp + 0x8c], edx
cmp si, cx
ja 0x41a752
cmp dword [esp + 0x8c], 0xffffffff
jne 0x41a84c
mov dword [esp + 0x3c], 0
mov byte [esp + 0x9f], 0x91
jmp 0x41a893
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x9f], 0xb5
mov dx, word [esp + 0x32]
mov word [esp + 0xb2], dx
add eax, dword [ecx + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret