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

Disassembly:
push 0xffffffffffffffff
push 0x4484e0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
je 0x41e4b6
mov eax, dword [edi]
cmp eax, ebx
je 0x41e4b6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x124], 1
mov edx, dword [esi]
push ecx
push edx
call fcn.0041cb90
test al, al
jne 0x41e52d
mov byte [esp + 0x124], bl
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x41e4fa
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp edi, ebx
mov dword [esp + 0x124], 0xffffffff
je 0x41e526
mov edi, dword [edi]
cmp edi, ebx
je 0x41e522
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x1c], ebx
xor al, al
jmp 0x41ed6c
lea eax, [esp + 0x88]
push eax
call fcn.0041abe0
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 2
call fcn.0041c420
test al, al
jne 0x41e570
lea esi, [esp + 0x88]
mov byte [esp + 0x124], 1
call fcn.0041d320
jmp 0x41e4e2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea esi, [esp + 0x40]
lea eax, [esp + 0x88]
mov byte [esp + 0x124], 3
call fcn.0041b7a0
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x41e5a4
mov edx, dword [esp + 0x48]
sub edx, eax
jne 0x41e5e2
mov byte [esp + 0x124], 2
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x41e5bd
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea esi, [esp + 0x88]
mov byte [esp + 0x124], 1
call fcn.0041d320
jmp 0x41e4e2
mov ebp, 7
mov eax, 0x44c79c
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00401625
mov eax, esi
push eax
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x12c], 4
call fcn.004068b0
mov esi, 8
mov byte [esp + 0x124], 6
cmp dword [esp + 0x84], esi
jb 0x41e643
mov edx, dword [esp + 0x70]
push edx
call fcn.0043004e
add esp, 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
lea eax, [esp + 0xf8]
push eax
lea edx, [esp + 0xc0]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x128], 7
call fcn.00406a40
test al, al
jne 0x41e71d
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], esi
jb 0x41e6b8
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0043004e
add esp, 4
lea edx, [esp + 0xd8]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
push edx
mov byte [esp + 0x128], 3
call fcn.00406940
lea esi, [esp + 0x40]
mov byte [esp + 0x124], 2
call fcn.0040b300
lea esi, [esp + 0x88]
mov byte [esp + 0x124], 1
call fcn.0041d320
lea esi, [esp + 0x2c]
mov byte [esp + 0x124], bl
call fcn.0040b300
jmp 0x41e506
lea esi, [esp + 0x18]
call fcn.00409d90
mov ecx, 2
mov edx, 0x40000000
lea eax, [esp + 0xbc]
mov byte [esp + 0x124], 8
call fcn.00409e60
test al, al
jne 0x41e7f8
mov eax, esi
mov byte [esp + 0x124], 7
call fcn.00409e30
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], 8
jb 0x41e77d
mov eax, dword [esp + 0xc0]
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0xd4], ebp
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], bx
mov byte [esp + 0x128], 3
call fcn.00406940
lea esi, [esp + 0x40]
mov byte [esp + 0x124], 2
call fcn.0040b300
lea esi, [esp + 0x88]
mov byte [esp + 0x124], 1
call fcn.0041d320
lea esi, [esp + 0x2c]
mov byte [esp + 0x124], bl
call fcn.0040b300
lea esi, [esp + 0x1c]
mov dword [esp + 0x124], 0xffffffff
call fcn.00406d90
xor al, al
jmp 0x41ed6c
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], ebx
jne 0x41e808
xor ebp, ebp
jmp 0x41e80e
mov ebp, dword [esp + 0x48]
sub ebp, eax
xor edi, edi
lea esi, [esp + 0x40]
call fcn.0041fda0
mov ecx, eax
lea esi, [esp + 0x50]
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.00409ee0
test al, al
jne 0x41e882
lea esi, [esp + 0x18]
call fcn.00409f10
lea eax, [esp + 0x18]
mov byte [esp + 0x124], 7
call fcn.00409e30
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], 8
jb 0x41e86a
mov edx, dword [esp + 0xc0]
push edx
call fcn.0043004e
add esp, 4
lea eax, [esp + 0xd8]
mov dword [esp + 0xd4], 7
push eax
jmp 0x41e78c
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
jne 0x41e88e
xor eax, eax
jmp 0x41e894
mov eax, dword [esp + 0x48]
sub eax, ecx
cmp dword [esp + 0x50], eax
je 0x41e8ee
lea esi, [esp + 0x18]
call fcn.00409f10
lea eax, [esp + 0x18]
mov byte [esp + 0x124], 7
call fcn.00409e30
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], 8
jb 0x41e8d6
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0043004e
add esp, 4
lea edx, [esp + 0xd8]
mov dword [esp + 0xd4], 7
push edx
jmp 0x41e78c
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x41e8fc
mov dword [esp + 0x68], ebx
jmp 0x41e906
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x68], ecx
lea esi, [esp + 0x50]
mov edi, 4
lea ecx, [esp + 0x68]
lea eax, [esp + 0x18]
call fcn.00409ee0
test al, al
je 0x41e82e
cmp dword [esp + 0x50], edi
jne 0x41e89a
lea eax, [esp + 0x2c]
call fcn.0041fd80
test al, al
jne 0x41e9d9
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x41e94b
xor ebp, ebp
jmp 0x41e951
mov ebp, dword [esp + 0x34]
sub ebp, eax
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.0041fda0
mov ecx, eax
lea esi, [esp + 0x50]
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.00409ee0
test al, al
jne 0x41e9bd
lea esi, [esp + 0x18]
call fcn.00409f10
lea eax, [esp + 0x18]
mov byte [esp + 0x124], 7
call fcn.00409e30
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], 8
jb 0x41e9ad
mov eax, dword [esp + 0xc0]
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0xd4], 7
jmp 0x41e784
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jne 0x41e9c9
xor eax, eax
jmp 0x41e9cf
mov eax, dword [esp + 0x34]
sub eax, ecx
cmp dword [esp + 0x50], eax
jne 0x41e82e
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
je 0x41ea0f
push 1
push ebx
push ebx
lea esi, [esp + 0x68]
lea eax, [esp + 0x24]
call fcn.00409f40
cmp al, bl
je 0x41ea0f
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea edi, [esp + 0x20]
call fcn.00409ff0
lea esi, [esp + 0x18]
call fcn.00409f10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41ea31
mov eax, dword [eax]
cmp eax, ebx
je 0x41ea2d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x3c]
add eax, 8
cmp eax, ebx
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], bl
je 0x41ea4d
lea esi, [esp + 0x54]
call fcn.0041ab70
mov byte [esp + 0x124], 9
mov edi, dword [esp + 0x28]
xor ebp, ebp
jmp 0x41ea60
lea eax, [esp + 0xbc]
push eax
mov esi, edi
call fcn.004090e0
add esp, 4
mov byte [esp + 0x23], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0x23], bl
jne 0x41ecac
cmp eax, 0x20
je 0x41ea90
cmp eax, 0x21
jne 0x41ea98
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebp, 1
cmp ebp, 0xa
jb 0x41ea60
lea esi, [esp + 0x24]
call fcn.00409d90
mov ecx, 3
mov edx, SysReAllocString
lea eax, [esp + 0xbc]
mov byte [esp + 0x124], 0xa
call fcn.00409e60
test al, al
mov eax, esi
jne 0x41eaf0
mov byte [esp + 0x124], 9
call fcn.00409e30
lea esi, [esp + 0x54]
mov byte [esp + 0x124], 8
call fcn.0041abb0
jmp 0x41e8a3
call fcn.00409fa0
test al, al
jne 0x41eb20
lea eax, [esp + 0x24]
mov byte [esp + 0x124], 9
call fcn.00409e30
lea esi, [esp + 0x54]
mov byte [esp + 0x124], 8
call fcn.0041abb0
jmp 0x41e97a
lea esi, [esp + 0x28]
call fcn.00409d90
mov ecx, 4
mov edx, 0x40000000
mov eax, edi
mov byte [esp + 0x124], 0xb
call fcn.00409e60
test al, al
jne 0x41eb7e
lea eax, [esp + 0x28]
mov byte [esp + 0x124], 0xa
call fcn.00409e30
lea eax, [esp + 0x24]
mov byte [esp + 0x124], 9
call fcn.00409e30
lea esi, [esp + 0x54]
mov byte [esp + 0x124], 8
call fcn.0041abb0
jmp 0x41e837
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x124], 0xc
mov ebp, dword [esp + 0x5c]
lea eax, [ebp + 8]
lea ecx, [esp + 0x6c]
call fcn.0041fcc0
push ebp
xor edi, edi
lea esi, [esp + 0x70]
call fcn.0041fda0
lea edx, [esp + 0x40]
mov esi, eax
lea ecx, [esp + 0x28]
call fcn.00409ea0
test al, al
je 0x41edbd
mov eax, dword [esp + 0x3c]
cmp ebp, eax
jne 0x41edbd
cmp dword [esp + 0x60], ebx
jne 0x41edbd
lea eax, [esp + 0x28]
call fcn.00409fa0
test al, al
lea esi, [esp + 0x6c]
jne 0x41ec17
mov byte [esp + 0x124], 0xb
call fcn.0040b300
lea eax, [esp + 0x28]
mov byte [esp + 0x124], 0xa
call fcn.00409e30
lea eax, [esp + 0x24]
jmp 0x41eacd
xor edi, edi
mov dword [esp + 0x3c], ebx
call fcn.0041fda0
mov ecx, eax
lea esi, [esp + 0x3c]
mov edi, ebp
lea eax, [esp + 0x28]
call fcn.00409ee0
test al, al
je 0x41ed96
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jne 0x41ed96
mov eax, dword [esp + 0x60]
cmp ebx, eax
jne 0x41ed96
push eax
push ebp
lea edi, [esp + 0x30]
call fcn.00409ff0
test al, al
je 0x41ec67
mov byte [esp + 0x23], 1
lea esi, [esp + 0x28]
call fcn.00409f10
lea esi, [esp + 0x24]
call fcn.00409f10
lea esi, [esp + 0x6c]
mov byte [esp + 0x124], 0xb
call fcn.0040b300
lea eax, [esp + 0x28]
mov byte [esp + 0x124], 0xa
call fcn.00409e30
lea eax, [esp + 0x24]
mov byte [esp + 0x124], 9
call fcn.00409e30
lea esi, [esp + 0x54]
mov byte [esp + 0x124], 8
call fcn.0041abb0
lea eax, [esp + 0x18]
mov byte [esp + 0x124], 7
call fcn.00409e30
mov byte [esp + 0x124], 6
cmp dword [esp + 0xd4], 8
jb 0x41ecf0
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0043004e
add esp, 4
lea edx, [esp + 0xd8]
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
push edx
mov byte [esp + 0x128], 3
call fcn.00406940
lea esi, [esp + 0x40]
mov byte [esp + 0x124], 2
call fcn.0040b300
lea esi, [esp + 0x88]
mov byte [esp + 0x124], 1
call fcn.0041d320
lea esi, [esp + 0x2c]
mov byte [esp + 0x124], bl
call fcn.0040b300
lea esi, [esp + 0x1c]
mov dword [esp + 0x124], 0xffffffff
call fcn.00406d90
mov al, byte [esp + 0x23]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0042fe0e
add esp, 0x114
ret 4
lea esi, [esp + 0x6c]
mov byte [esp + 0x124], 0xb
call fcn.0040b300
lea eax, [esp + 0x28]
mov byte [esp + 0x124], 0xa
call fcn.00409e30
jmp 0x41eaf9
lea esi, [esp + 0x6c]
mov byte [esp + 0x124], 0xb
call fcn.0040b300
jmp 0x41eb46