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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x20], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], esi
lea eax, [esi - 8]
mov dword [esp + 0x14], edi
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.0041e81b
test ebx, ebx
je 0x41c6a2
and dword [ebx], 0
push edi
lea ecx, [esi - 8]
call fcn.0041e88f
mov ebx, eax
test ebx, ebx
jne 0x41c6bb
mov eax, 0x80004005
jmp 0x41d06d
and dword [ebx + 0x60], 0
lea edi, [ebx + 0x68]
and dword [ebx + 0x64], 0
mov ecx, edi
call fcn.0041ee93
xor ecx, ecx
xor eax, eax
mov byte [ebx + 0x56], cl
mov byte [ebx + 0x20], cl
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ecx
mov word [esp + 0xac], ax
lea eax, [esp + 0xac]
push eax
lea eax, [esi + 0x84]
mov dword [esp + 0xc0], ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0xc4], 7
push eax
mov dword [esp + 0x18], ecx
call fcn.00408402
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.004205e8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41d05f
mov ecx, dword [esp + 0x10]
lea eax, [ebx + 0x94]
push eax
call fcn.00408402
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.00420702
mov esi, eax
pop ecx
test esi, esi
jne 0x41d05f
lea eax, [esp + 0xac]
mov ecx, ebx
push eax
call fcn.00401f8e
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edx
call fcn.0040846d
test al, al
je 0x41c7db
lea ecx, [esp + 0x58]
call fcn.004150e0
mov ecx, edx
call fcn.00408402
lea ecx, [esp + 0x58]
push ecx
push 0x1d
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x1c]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jne 0x41c7ae
cmp dword [esp + 0x58], eax
je 0x41c7ce
cmp dword [esp + 0x58], 3
je 0x41c7bc
mov esi, 0x80004005
lea ecx, [esp + 0x58]
call fcn.00415150
jmp 0x41d05f
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x20], 1
lea ecx, [esp + 0x58]
call fcn.00415150
mov edx, dword [esp + 0x10]
lea eax, [ebx + 0x56]
mov ecx, edx
push eax
push 0xf
call fcn.00408402
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00420715
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41d05f
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edx
mov byte [esp + 0x23], al
call fcn.0040846d
test al, al
je 0x41c869
lea ecx, [esp + 0x58]
call fcn.004150e0
mov ecx, edx
call fcn.00408402
lea ecx, [esp + 0x58]
push ecx
push 7
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x1c]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jne 0x41c7ae
mov eax, dword [esp + 0x58]
test eax, eax
setne byte [esp + 0x1f]
test eax, eax
je 0x41c85c
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x5c], eax
lea ecx, [esp + 0x58]
call fcn.00415150
mov edx, dword [esp + 0x10]
cmp dword [ebp + 0x10], 0
jne 0x41ca0a
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xc8], 0
je 0x41c8c5
push 0xc
call fcn.0043b1a7
pop ecx
mov ecx, eax
call fcn.004339f4
test eax, eax
je 0x41c898
add eax, 8
jmp 0x41c89a
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0040844f
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41c8b7
lea ecx, [esp + 0x18]
call fcn.0041b929
mov dword [edx], eax
lea ecx, [esp + 0x18]
call fcn.004083f6
jmp 0x41ca0a
push ecx
mov ecx, edx
call fcn.0040846d
test al, al
je 0x41c959
lea ecx, [esp + 0x58]
call fcn.004150e0
mov ecx, edx
call fcn.00408402
lea ecx, [esp + 0x58]
push ecx
push 9
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x1c]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jne 0x41c7ae
cmp dword [esp + 0x58], eax
jne 0x41c927
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc0]
mov dword [ebx + 0x88], eax
mov eax, dword [ecx + 0xc4]
mov dword [ebx + 0x8c], eax
xor al, al
jmp 0x41c948
cmp dword [esp + 0x58], 3
jne 0x41c7a9
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x8c], eax
mov al, 1
mov ecx, ebx
mov byte [ecx + 0x93], al
lea ecx, [esp + 0x58]
call fcn.00415150
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x90]
push eax
lea eax, [ebx + 0x6c]
push eax
push 0xa
push dword [esp + 0x20]
call fcn.0041c598
mov esi, eax
test esi, esi
jne 0x41d05f
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x91]
push eax
lea eax, [ebx + 0x74]
push eax
push 0xb
push dword [esp + 0x20]
call fcn.0041c598
mov esi, eax
test esi, esi
jne 0x41d05f
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x92]
push eax
lea eax, [ebx + 0x7c]
push eax
push 0xc
push dword [esp + 0x20]
call fcn.0041c598
mov esi, eax
test esi, esi
jne 0x41d05f
mov esi, dword [esp + 0x18]
mov byte [ebx + 0x96], al
lea ecx, [esi + 0x11c]
push ecx
mov dword [esp + 0x1c], ecx
call fcn.0040846d
test al, al
je 0x41cafc
call fcn.00408402
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
jne 0x41cafc
mov byte [ebx + 0x96], 1
cmp byte [ebx + 0x94], al
je 0x41ca11
xor esi, esi
jmp 0x41d05f
lea ecx, [esp + 0x14]
call fcn.004083f0
mov ecx, dword [esp + 0x18]
call fcn.00408402
mov edx, eax
lea ecx, [esp + 0x14]
mov esi, dword [edx]
call fcn.0040846a
movzx ecx, byte [ebx + 0x20]
push eax
push ecx
lea eax, [esp + 0xb4]
mov ecx, edx
push eax
call dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040846d
test al, al
je 0x41cae9
call fcn.00408402
cmp byte [ebx + 0x20], 0
push 2
pop ecx
mov edx, dword [eax]
push 4
pop esi
cmovne ecx, esi
push ecx
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
call dword [edx + 0x14]
test al, al
jne 0x41ca7f
xor esi, esi
jmp 0x41caee
lea ecx, [esp + 0x10]
call fcn.004083f0
lea ecx, [esp + 0x14]
call fcn.00408402
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x401
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408446
test al, al
je 0x41cabd
mov esi, 0x80004005
jmp 0x41cade
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41cad0
lea ecx, [esp + 0x10]
call fcn.0041b929
mov dword [edx], eax
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00408405
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.004083f6
jmp 0x41caee
mov esi, 0x80004005
lea ecx, [esp + 0x14]
call fcn.004083f6
jmp 0x41d05f
and dword [esp + 0x50], 0
lea ecx, [esi - 8]
xor eax, eax
mov dword [esp + 0x54], 7
and dword [esp + 0x18], eax
mov word [esp + 0x40], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
push ebx
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x24]
call fcn.0041d084
test al, al
jne 0x41cb5c
cmp byte [ebx + 0x94], al
je 0x41cb53
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401f8e
mov byte [ebx + 0x95], 1
mov esi, dword [esp + 0x18]
jmp 0x41d056
push 0x58
call fcn.0043b1a7
pop ecx
push dword [esi + 0x118]
mov ecx, eax
call fcn.00432520
test eax, eax
je 0x41cb7a
add eax, 8
jmp 0x41cb7c
xor eax, eax
push eax
mov ecx, edi
call fcn.00408416
mov ecx, edi
call fcn.00408402
cmp byte [ebx + 0x20], 0
push 2
pop ecx
mov edx, dword [eax]
push 4
pop esi
cmovne ecx, esi
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [edx + 0x14]
test al, al
jne 0x41ce75
mov byte [esp + 0x1e], al
cmp byte [ebx + 0x54], al
je 0x41ccac
cmp byte [ebx + 0x20], al
jne 0x41ccac
and dword [esp + 0xa4], 0
lea edx, [esp + 0x94]
xor eax, eax
mov dword [esp + 0xa8], 7
lea ecx, [esp + 0x40]
mov word [esp + 0x94], ax
call fcn.0040dd80
test al, al
jne 0x41cc0c
and dword [esp + 0x50], 0
lea eax, [esp + 0x40]
cmp dword [esp + 0x54], 8
cmovae eax, dword [esp + 0x40]
xor ecx, ecx
mov word [eax], cx
lea ecx, [esp + 0x58]
call fcn.00403324
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
cmp dword [esp + 0xa4], eax
je 0x41cc83
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x64]
call fcn.00412810
test al, al
je 0x41cc83
mov ecx, edi
call fcn.00408402
push esi
lea ecx, [esp + 0x2c]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, al
je 0x41cc7e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.00404835
mov byte [esp + 0x1e], 1
jmp 0x41cc83
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x28]
call fcn.0040203f
lea ecx, [esp + 0x58]
call fcn.00412570
lea ecx, [esp + 0x94]
call fcn.0040203f
cmp byte [esp + 0x1e], 0
jne 0x41ce75
and dword [ebx + 0x60], 0
mov ecx, edi
and dword [ebx + 0x64], 0
call fcn.0041ee93
lea eax, [esp + 0x28]
push 0x271b
push eax
call fcn.00403449
mov ecx, eax
call fcn.0041aa54
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x98]
call fcn.0041a720
pop ecx
lea ecx, [esp + 0x28]
call fcn.0040203f
lea eax, [esp + 0x28]
push 0x2790
push eax
call fcn.00403449
mov ecx, eax
call fcn.0041aa54
push 8
pop ebx
cmp dword [esp + 0x3c], ebx
lea eax, [esp + 0x28]
push dword [esp + 0x38]
cmovae eax, dword [esp + 0x2c]
lea ecx, [esp + 0x98]
push eax
call fcn.004025a8
lea ecx, [esp + 0x28]
call fcn.0040203f
cmp dword [esp + 0x50], 0x104
jbe 0x41ce22
lea eax, [esp + 0x28]
push 0x27d1
push eax
call fcn.00403449
mov ecx, eax
call fcn.0041aa54
mov edi, 0x459880
lea edx, [esp + 0x94]
push edi
lea ecx, [esp + 0x5c]
call fcn.0040248d
mov edx, eax
pop ecx
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp dword [esp + 0x38], ecx
jbe 0x41cd9c
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
cmp eax, esi
jb 0x41cd9c
cmp dword [edx + 0x14], ebx
jb 0x41cd8e
mov edx, dword [edx]
push esi
push edx
push ecx
lea ecx, [esp + 0x34]
call fcn.0041f22c
jmp 0x41cdb5
cmp dword [esp + 0x3c], ebx
lea eax, [esp + 0x28]
push dword [esp + 0x38]
cmovae eax, dword [esp + 0x2c]
mov ecx, edx
push eax
call fcn.004025a8
push eax
lea ecx, [esp + 0xe0]
call fcn.00402372
push edi
call fcn.0043ef4e
pop ecx
push eax
push edi
lea ecx, [esp + 0xe4]
call fcn.004025a8
push eax
lea ecx, [esp + 0xc8]
call fcn.00402372
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x98]
call fcn.004023e5
lea ecx, [esp + 0xc4]
call fcn.0040203f
lea ecx, [esp + 0xdc]
call fcn.0040203f
lea ecx, [esp + 0x58]
call fcn.0040203f
lea ecx, [esp + 0x28]
call fcn.0040203f
lea ecx, [esp + 0x58]
call fcn.00414370
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x41ce34
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x9c]
call fcn.004025a8
lea ecx, [esp + 0x58]
call fcn.0040203f
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x18]
call fcn.0041e939
lea ecx, [esp + 0x94]
mov esi, eax
call fcn.0040203f
jmp 0x41d056
cmp byte [ebx + 0x20], 0
je 0x41cf17
lea ecx, [esp + 0x10]
call fcn.004083f0
push ecx
mov ecx, edi
call fcn.0040846d
test al, al
je 0x41ceb0
call fcn.00408402
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x403
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040846d
test al, al
je 0x41cf0a
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
je 0x41cf0a
mov ecx, edi
call fcn.00408402
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
and dword [ebx + 0x60], 0
mov ecx, edi
and dword [ebx + 0x64], 0
call fcn.0041ee93
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41d056
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x41d056
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41cf17
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esp + 0x1f], 0
je 0x41cfee
cmp byte [ebx + 0x20], 0
jne 0x41cfee
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebx + 0x58]
ja 0x41cf40
cmp eax, 0x100000
jbe 0x41cfee
and eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je 0x41cfee
push ecx
mov ecx, edi
call fcn.0040846d
test al, al
je 0x41cfee
lea ecx, [esp + 0x10]
call fcn.004083f0
mov ecx, edi
call fcn.00408402
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x40c
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040846d
test al, al
je 0x41cfe5
mov edi, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], esi
call fcn.00408402
push esi
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, 0x80004004
cmp eax, esi
jne 0x41cfd6
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401f8e
lea ecx, [esp + 0x10]
mov byte [ebx + 0x95], 1
call fcn.004083f6
jmp 0x41d056
lea edi, [ebx + 0x68]
test eax, eax
je 0x41cfe5
and dword [ebx + 0x60], 0
and dword [ebx + 0x64], 0
lea ecx, [esp + 0x10]
call fcn.004083f6
cmp dword [esp + 0x24], 0
je 0x41d040
push ecx
mov ecx, edi
call fcn.0040846d
test al, al
je 0x41d040
lea ecx, [esp + 0x18]
call fcn.004083f0
mov ecx, edi
call fcn.00408402
mov edx, eax
lea ecx, [esp + 0x18]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x401
mov ecx, edx
call dword [esi]
lea ecx, [esp + 0x18]
call fcn.0041b929
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.004083f6
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401f8e
mov byte [ebx + 0x95], 1
xor esi, esi
lea ecx, [esp + 0x40]
call fcn.0040203f
lea ecx, [esp + 0xac]
call fcn.0040203f
mov eax, esi
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043af96
mov esp, ebp
pop ebp
ret 0xc