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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb7c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x1c], ebx
push edi
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x45], bl
je 0x420006
add dword [eax + 0x20], 0xffffffff
jns 0x420006
cmp byte [0x494ee8], bl
jne 0x42058f
int3
mov ecx, dword [eax + 0xa8]
mov byte [eax + 0x6c], bl
test ecx, ecx
je 0x42001a
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov eax, dword [0x494ed0]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42004c
call fcn.00431050
test eax, eax
jne 0x420037
mov eax, 0x495db1
jmp 0x420043
push str.toplevel
mov ecx, eax
call fcn.0042f410
mov dword [esp + 0x14], eax
mov dword [0x494ed0], eax
mov dword [esp + 0x44], ebx
test byte [eax], 0xd
je 0x42010e
mov edi, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
push eax
call fcn.00415370
mov eax, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], str.src_file
mov dword [esp + 0x64], str.src_func
mov word [esp + 0x18], 0x606
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
call fcn.00431050
push 0
push 0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
push ecx
push 2
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0xa0]
push 0
push 0
push 0
push 0
push 0
push str.MessageLoop::RunTask
push esi
push 0x58
push ecx
mov ecx, eax
call fcn.0042f8c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], str.MessageLoop::RunTask
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xb8]
sub eax, dword [ecx + 0xb4]
test eax, 0xfffffffc
je 0x42031e
lea eax, [ecx + 0xb0]
push eax
lea ecx, [esp + 0x28]
call fcn.004219d0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x42031e
test bl, 8
je 0x42015d
lea ecx, [esp + 0x88]
and ebx, 0xfffffff7
call fcn.00414010
cmp byte [edi + 5], 0
je 0x4201c8
cmp dword [esp + 0x28], 0
je 0x4201c8
test bl, 0x10
je 0x42017e
lea ecx, [esp + 0x138]
and ebx, 0xffffffef
call fcn.00414010
test bl, 0x40
je 0x420192
lea ecx, [esp + 0x1e8]
and ebx, 0xffffffbf
call fcn.00414010
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp byte [edi + 5], al
cmovne eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
jae 0x4201c8
lea eax, [edx + esi*4]
cmp dword [eax], 0
jne 0x4202b8
inc esi
add eax, 4
cmp esi, ecx
jb 0x4201b7
test edi, edi
je 0x42031e
test bl, bl
jns 0x4201e6
lea ecx, [esp + 0x298]
and ebx, 0xffffff7f
call fcn.00414010
cmp byte [edi + 5], 0
je 0x420304
mov esi, dword [esp + 0x28]
test esi, esi
je 0x420304
test ebx, 0x100
je 0x420216
lea ecx, [esp + 0x348]
and ebx, 0xfffffeff
call fcn.00414010
test ebx, 0x400
je 0x420230
lea ecx, [esp + 0x3f8]
and ebx, 0xfffffbff
call fcn.00414010
xor eax, eax
cmp byte [edi + 5], al
cmovne eax, esi
add dword [eax + 0x10], 0xffffffff
jne 0x420304
test ebx, 0x800
je 0x42025c
lea ecx, [esp + 0x4a8]
and ebx, 0xfffff7ff
call fcn.00414010
test ebx, 0x2000
je 0x420276
lea ecx, [esp + 0x558]
and ebx, 0xffffdfff
call fcn.00414010
xor eax, eax
mov dword [esp + 0x10], 0
cmp byte [edi + 5], al
lea edx, [esp + 0x10]
lea ecx, [esp + 0x78]
cmovne eax, esi
mov dword [esp + 0x14], eax
mov esi, dword [eax + 8]
push esi
push dword [eax + 4]
call fcn.00421b80
add esp, 8
mov edi, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
cmp edi, ecx
jne 0x4202d8
cmp esi, dword [eax + 8]
jne 0x4202d8
mov dword [eax + 8], ecx
jmp 0x420300
cmp esi, ecx
jae 0x4201c8
mov ecx, dword [edx + esi*4]
inc esi
test ecx, ecx
je 0x4201c8
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax]
jmp 0x420141
cmp edi, esi
je 0x420300
mov eax, dword [eax + 8]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
push edi
mov dword [esp + 0x1c], eax
call fcn.0045b4f0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x10]
add eax, edi
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x24]
or eax, 0xffffffff
lock xadd dword [edi], eax
sub eax, 1
setne al
test al, al
jne 0x42031e
push edi
call fcn.0045a086
add esp, 4
push dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0xc8]
call fcn.00435a70
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xb8]
sub eax, dword [ecx + 0xb4]
test eax, 0xfffffffc
je 0x420552
lea eax, [ecx + 0xb0]
push eax
lea ecx, [esp + 0x38]
call fcn.004219d0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x420552
test ebx, 0x4000
je 0x420386
lea ecx, [esp + 0x608]
and ebx, 0xffffbfff
call fcn.00414010
cmp byte [edi + 5], 0
je 0x420401
cmp dword [esp + 0x38], 0
je 0x420401
test ebx, 0x8000
je 0x4203ad
lea ecx, [esp + 0x6b8]
and ebx, 0xffff7fff
call fcn.00414010
test ebx, 0x20000
je 0x4203c7
lea ecx, [esp + 0x768]
and ebx, 0xfffdffff
call fcn.00414010
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp byte [edi + 5], al
cmovne eax, dword [esp + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
jae 0x420401
lea eax, [edx + esi*4]
nop dword [eax]
cmp dword [eax], 0
jne 0x4204eb
inc esi
add eax, 4
cmp esi, ecx
jb 0x4203f0
test edi, edi
je 0x420552
test ebx, 0x40000
je 0x420423
lea ecx, [esp + 0x818]
and ebx, 0xfffbffff
call fcn.00414010
cmp byte [edi + 5], 0
je 0x420538
mov esi, dword [esp + 0x38]
test esi, esi
je 0x420538
test ebx, 0x80000
je 0x420453
lea ecx, [esp + 0x8c8]
and ebx, 0xfff7ffff
call fcn.00414010
test ebx, 0x200000
je 0x42046d
lea ecx, [esp + 0x978]
and ebx, 0xffdfffff
call fcn.00414010
xor eax, eax
cmp byte [edi + 5], al
cmovne eax, esi
add dword [eax + 0x10], 0xffffffff
jne 0x420538
test ebx, 0x400000
je 0x420499
lea ecx, [esp + 0xa28]
and ebx, 0xffbfffff
call fcn.00414010
test ebx, 0x1000000
je 0x4204ad
lea ecx, [esp + 0xad8]
call fcn.00414010
xor ebx, ebx
mov dword [esp + 0x20], 0
cmp byte [edi + 5], bl
lea edx, [esp + 0x20]
lea ecx, [esp + 0x7c]
cmovne ebx, esi
mov dword [esp + 0x10], ebx
mov esi, dword [ebx + 8]
push esi
push dword [ebx + 4]
call fcn.00421b80
add esp, 8
mov edi, dword [eax]
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x42050c
cmp esi, dword [ebx + 8]
jne 0x42050c
mov dword [ebx + 8], eax
jmp 0x420534
cmp esi, ecx
jae 0x420401
mov ecx, dword [edx + esi*4]
inc esi
test ecx, ecx
je 0x420401
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 4]
jmp 0x420364
cmp edi, esi
je 0x420534
mov eax, dword [ebx + 8]
sub eax, esi
sar eax, 2
lea ebx, [eax*4]
push ebx
push esi
push edi
call fcn.0045b4f0
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + edi]
add esp, 0xc
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x34]
or eax, 0xffffffff
lock xadd dword [edi], eax
sub eax, 1
setne al
test al, al
jne 0x420552
push edi
call fcn.0045a086
add esp, 4
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x6c], 1
je 0x420586
mov eax, dword [esp + 0x48]
cmp byte [eax], 0
je 0x420586
call fcn.00431050
push dword [esp + 0x54]
mov ecx, eax
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004305c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.0046515c
int3