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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov di, word [esp + 0xd2]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x1e3d
mov word [esp + 0xb4], 0x46be
mov dword [esp + 0xb0], 0x6dd7
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x2261
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xbc]
xor ebx, 0x1047
sub ebx, 0x2260
mov dword [esp + 0x54], eax
seta al
mov byte [esp + 0x53], al
mov eax, dword [esp + 0x54]
test eax, eax
setne al
mov ah, byte [esp + 0x53]
mov byte [esp + 0x52], al
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
mov word [esp + 0x42], di
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x3b], ah
je 0x41a2f1
mov al, byte [esp + 0x52]
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
test al, al
jne 0x41a540
jmp 0x41a2ff
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xb0]
mov esi, 0x6dd7
sub esi, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x68], edx
mov bx, word [esp + 0x42]
mov di, bx
mov eax, 0x6cce
sub eax, edi
mov di, ax
mov word [esp + 0xd2], di
mov eax, dword [esp + 0xb0]
mov ecx, eax
add ecx, 0x180d5
xor eax, 0x92e8
mov edx, dword [esp + 0x44]
mov dword [esp + 0x60], edx
mov dword [esp + 0x80], 0x1e
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0xb0]
xor edx, 0x6dd7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
call eax
mov byte [esp + 0xb7], 0
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xb0]
xor ecx, 0x5d9d7
mov edx, dword [esp + 0x68]
mov esi, esp
mov edi, dword [esp + 0x34]
mov dword [esi + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [esp + 0x28], ecx
call edx
sub esp, 0xc
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp + 0x74], 0x41d000
mov eax, dword [esp + 0x68]
mov bx, word [esp + 0x42]
mov word [esp + 0xd2], bx
mov ecx, dword [esp + 0xac]
mov edx, esp
mov esi, dword [esp + 0x28]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x30]
mov dword [edx + 4], esi
mov dword [edx], ecx
call eax
sub esp, 0xc
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x39f0
mov dword [esp + 0xcc], 0x6003
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xb0]
xor ecx, 0x6dd2
cmp eax, ecx
jae 0x41a540
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 2]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x74]
movzx eax, word [eax]
mov dword [esp + 0x64], eax
mov word [esp + 0x96], 0x6db8
mov cx, 0x6db8
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x90]
mov edi, esp
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [edi], esi
mov word [esp + 0x26], cx
call fcn.0041a620
movzx eax, word [esp + 0xb4]
mov edx, dword [esp + 0x64]
add eax, 0xffffe468
mov cx, ax
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x7920
mov bx, word [esp + 0x26]
cmp bx, cx
jbe 0x41a43b
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xb7], 0x73
add eax, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
add eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x74]
add eax, 6
mov cx, word [esp + 0x42]
and cx, cx
mov word [esp + 0xd2], cx
mov dword [esp + 0x74], eax
jmp 0x41a43b
mov eax, 0x13
mov ecx, dword [esp + 0xb0]
add ecx, 0x4338cffe
mov dword [esp], ecx
mov dword [esp + 4], 0x13
mov dword [esp + 0x20], eax
call fcn.0041b180
mov ecx, 0x6dd7
mov dx, word [esp + 0xb4]
add dx, 0xba44
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov bl, byte [esp + 0xb7]
xor bl, 0xff
mov byte [esp + 0xb7], bl
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx]
sub ecx, edi
mov edi, esp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xa4]
mov dword [edi + 0x14], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 4], esi
movzx eax, dx
mov dword [edi], eax
mov dword [edi + 0x10], 0x1eeac
mov dword [edi + 8], 0x2da00
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
call eax
sub esp, 0x18
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0xb7], 0xde
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret