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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x542040]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x10]
movzx eax, cx
push edi
cmp eax, 0x7d0
ja 0x41ec37
je 0x41ec2e
sub eax, 1
je 0x41eab2
sub eax, 1
je 0x41eaa4
sub eax, 0x3e6
jne 0x41ec73
shr ecx, 0x10
cmp ecx, 5
jne 0x41ec73
push 0x41ed20
lea eax, [esi + 0x20]
push 0x12c
push eax
push dword [eax + 0x64]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41ec99
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x41ec99
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push dword [esi + 0x80]
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0x70]
lea edi, [eax - 1]
neg edi
sbb edi, edi
inc edi
call ebx
cmp eax, 1
jne 0x41eae8
mov ebx, eax
jmp 0x41eb1b
push 0
push 0
push 0xf0
push dword [esi + 0x74]
call ebx
cmp eax, 1
jne 0x41eb00
lea ebx, [eax + 1]
jmp 0x41eb1b
push 0
push 0
push 0xf0
push dword [esi + 0x78]
call ebx
lea ebx, [eax - 1]
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffd
add ebx, 3
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x18]
call fcn.0041bf00
mov ecx, eax
lea eax, [esi + 0x44]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x41eb66
mov ecx, eax
call fcn.00424d10
mov ecx, dword [esp + 0x10]
xor eax, eax
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x54], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [esp + 0x18]
call fcn.00424d10
lea ecx, [esi + 0xf0]
lea edx, [esi + 0x44]
call fcn.00425070
cmp dword [esi + 0x58], 7
lea eax, [esi + 0x44]
mov ecx, eax
mov dword [esp + 0x10], eax
jbe 0x41eb92
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x54], 1
jbe 0x41ebc4
push 2
push 0x51c194
push ecx
call fcn.004f29cb
add esp, 0xc
test eax, eax
jne 0x41ebc1
lea edi, [eax + 1]
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
add eax, 4
movlpd qword [esp + 0x30], xmm0
jmp 0x41ebd5
lea eax, [esi + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
test edi, edi
je 0x41ebf2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push str._016llX
push eax
call fcn.00417c60
mov edx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x30]
jmp 0x41ec0b
cmp dword [eax + 0x14], 7
jbe 0x41ebfa
mov eax, dword [eax]
push eax
call fcn.004f266a
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
shl edi, 0x10
push 1
push dword [esp + 0x18]
or edi, ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], 1
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x41ec99
mov dword [esi + 0x24], 0
jmp 0x41ec99
cmp eax, 0x7d3
ja 0x41ec67
je 0x41ec5e
sub eax, 0x7d1
je 0x41ec55
sub eax, 1
jne 0x41ec73
mov dword [esi + 0x24], 2
jmp 0x41ec99
mov dword [esi + 0x24], 1
jmp 0x41ec99
mov dword [esi + 0x24], 3
jmp 0x41ec99
sub eax, 0xbb8
je 0x41ec92
sub eax, 1
je 0x41ec89
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 0x10
or dword [esi + 0x24], 0x10000
jmp 0x41ec99
and dword [esi + 0x24], 0xfffeffff
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 0x10