Function at 0x41dca3
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.0041fe62
test ebx, ebx
je 0x41dce9
and dword [ebx], 0
push edi
lea ecx, [esi - 8]
call fcn.0041fed6
mov ebx, eax
test ebx, ebx
jne 0x41dd02
mov eax, 0x80004005
jmp 0x41e6b4
and dword [ebx + 0x60], 0
lea edi, [ebx + 0x68]
and dword [ebx + 0x64], 0
mov ecx, edi
call fcn.004204dc
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.00408412
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00421a75
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41e6a6
mov ecx, dword [esp + 0x10]
lea eax, [ebx + 0x94]
push eax
call fcn.00408412
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.00421b8f
mov esi, eax
pop ecx
test esi, esi
jne 0x41e6a6
lea eax, [esp + 0xac]
mov ecx, ebx
push eax
call fcn.00401f8e
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edx
call fcn.0040847d
test al, al
je 0x41de22
lea ecx, [esp + 0x58]
call fcn.004153d0
mov ecx, edx
call fcn.00408412
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 0x41ddf5
cmp dword [esp + 0x58], eax
je 0x41de15
cmp dword [esp + 0x58], 3
je 0x41de03
mov esi, 0x80004005
lea ecx, [esp + 0x58]
call fcn.00415440
jmp 0x41e6a6
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.00415440
mov edx, dword [esp + 0x10]
lea eax, [ebx + 0x56]
mov ecx, edx
push eax
push 0xf
call fcn.00408412
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00421ba2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41e6a6
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edx
mov byte [esp + 0x23], al
call fcn.0040847d
test al, al
je 0x41deb0
lea ecx, [esp + 0x58]
call fcn.004153d0
mov ecx, edx
call fcn.00408412
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 0x41ddf5
mov eax, dword [esp + 0x58]
test eax, eax
setne byte [esp + 0x1f]
test eax, eax
je 0x41dea3
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.00415440
mov edx, dword [esp + 0x10]
cmp dword [ebp + 0x10], 0
jne 0x41e051
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xc8], 0
je 0x41df0c
push 0xc
call fcn.0043b783
pop ecx
mov ecx, eax
call fcn.00433f71
test eax, eax
je 0x41dedf
add eax, 8
jmp 0x41dee1
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0040845f
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41defe
lea ecx, [esp + 0x18]
call fcn.0041cfb2
mov dword [edx], eax
lea ecx, [esp + 0x18]
call fcn.00408406
jmp 0x41e051
push ecx
mov ecx, edx
call fcn.0040847d
test al, al
je 0x41dfa0
lea ecx, [esp + 0x58]
call fcn.004153d0
mov ecx, edx
call fcn.00408412
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 0x41ddf5
cmp dword [esp + 0x58], eax
jne 0x41df6e
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 0x41df8f
cmp dword [esp + 0x58], 3
jne 0x41ddf0
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.00415440
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.0041dbdf
mov esi, eax
test esi, esi
jne 0x41e6a6
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.0041dbdf
mov esi, eax
test esi, esi
jne 0x41e6a6
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.0041dbdf
mov esi, eax
test esi, esi
jne 0x41e6a6
mov esi, dword [esp + 0x18]
mov byte [ebx + 0x96], al
lea ecx, [esi + 0x11c]
push ecx
mov dword [esp + 0x1c], ecx
call fcn.0040847d
test al, al
je 0x41e143
call fcn.00408412
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
jne 0x41e143
mov byte [ebx + 0x96], 1
cmp byte [ebx + 0x94], al
je 0x41e058
xor esi, esi
jmp 0x41e6a6
lea ecx, [esp + 0x14]
call fcn.00408400
mov ecx, dword [esp + 0x18]
call fcn.00408412
mov edx, eax
lea ecx, [esp + 0x14]
mov esi, dword [edx]
call fcn.0040847a
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.0040847d
test al, al
je 0x41e130
call fcn.00408412
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 0x41e0c6
xor esi, esi
jmp 0x41e135
lea ecx, [esp + 0x10]
call fcn.00408400
lea ecx, [esp + 0x14]
call fcn.00408412
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040847a
push eax
push 0x401
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408456
test al, al
je 0x41e104
mov esi, 0x80004005
jmp 0x41e125
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41e117
lea ecx, [esp + 0x10]
call fcn.0041cfb2
mov dword [edx], eax
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00408415
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.00408406
jmp 0x41e135
mov esi, 0x80004005
lea ecx, [esp + 0x14]
call fcn.00408406
jmp 0x41e6a6
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.0041e6cb
test al, al
jne 0x41e1a3
cmp byte [ebx + 0x94], al
je 0x41e19a
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401f8e
mov byte [ebx + 0x95], 1
mov esi, dword [esp + 0x18]
jmp 0x41e69d
push 0x58
call fcn.0043b783
pop ecx
push dword [esi + 0x118]
mov ecx, eax
call fcn.0041b270
test eax, eax
je 0x41e1c1
add eax, 8
jmp 0x41e1c3
xor eax, eax
push eax
mov ecx, edi
call fcn.00408426
mov ecx, edi
call fcn.00408412
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 0x41e4bc
mov byte [esp + 0x1e], al
cmp byte [ebx + 0x54], al
je 0x41e2f3
cmp byte [ebx + 0x20], al
jne 0x41e2f3
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.0040dd90
test al, al
jne 0x41e253
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.0040333e
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
cmp dword [esp + 0xa4], eax
je 0x41e2ca
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x64]
call fcn.00412b00
test al, al
je 0x41e2ca
mov ecx, edi
call fcn.00408412
push esi
lea ecx, [esp + 0x2c]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, al
je 0x41e2c5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.0040484f
mov byte [esp + 0x1e], 1
jmp 0x41e2ca
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x28]
call fcn.0040203f
lea ecx, [esp + 0x58]
call fcn.00412860
lea ecx, [esp + 0x94]
call fcn.0040203f
cmp byte [esp + 0x1e], 0
jne 0x41e4bc
and dword [ebx + 0x60], 0
mov ecx, edi
and dword [ebx + 0x64], 0
call fcn.004204dc
lea eax, [esp + 0x28]
push 0x271b
push eax
call fcn.00403463
mov ecx, eax
call fcn.0041c0dd
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x98]
call fcn.00411f70
pop ecx
lea ecx, [esp + 0x28]
call fcn.0040203f
lea eax, [esp + 0x28]
push 0x2790
push eax
call fcn.00403463
mov ecx, eax
call fcn.0041c0dd
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.004025c2
lea ecx, [esp + 0x28]
call fcn.0040203f
cmp dword [esp + 0x50], 0x104
jbe 0x41e469
lea eax, [esp + 0x28]
push 0x27d1
push eax
call fcn.00403463
mov ecx, eax
call fcn.0041c0dd
mov edi, 0x459890
lea edx, [esp + 0x94]
push edi
lea ecx, [esp + 0x5c]
call fcn.004024a7
mov edx, eax
pop ecx
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp dword [esp + 0x38], ecx
jbe 0x41e3e3
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
cmp eax, esi
jb 0x41e3e3
cmp dword [edx + 0x14], ebx
jb 0x41e3d5
mov edx, dword [edx]
push esi
push edx
push ecx
lea ecx, [esp + 0x34]
call fcn.0042086b
jmp 0x41e3fc
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.004025c2
push eax
lea ecx, [esp + 0xe0]
call fcn.00402372
push edi
call fcn.0043f51e
pop ecx
push eax
push edi
lea ecx, [esp + 0xe4]
call fcn.004025c2
push eax
lea ecx, [esp + 0xc8]
call fcn.00402372
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x98]
call fcn.004023ff
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.00414660
mov ecx, eax
cmp dword [eax + 0x14], ebx
jb 0x41e47b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x9c]
call fcn.004025c2
lea ecx, [esp + 0x58]
call fcn.0040203f
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x18]
call fcn.0041ff80
lea ecx, [esp + 0x94]
mov esi, eax
call fcn.0040203f
jmp 0x41e69d
cmp byte [ebx + 0x20], 0
je 0x41e55e
lea ecx, [esp + 0x10]
call fcn.00408400
push ecx
mov ecx, edi
call fcn.0040847d
test al, al
je 0x41e4f7
call fcn.00408412
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040847a
push eax
push 0x403
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040847d
test al, al
je 0x41e551
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 0x41e551
mov ecx, edi
call fcn.00408412
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.004204dc
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41e69d
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x41e69d
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x41e55e
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esp + 0x1f], 0
je 0x41e635
cmp byte [ebx + 0x20], 0
jne 0x41e635
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebx + 0x58]
ja 0x41e587
cmp eax, 0x100000
jbe 0x41e635
and eax, dword [ebx + 0x5c]
cmp eax, 0xffffffff
je 0x41e635
push ecx
mov ecx, edi
call fcn.0040847d
test al, al
je 0x41e635
lea ecx, [esp + 0x10]
call fcn.00408400
mov ecx, edi
call fcn.00408412
mov edx, eax
lea ecx, [esp + 0x10]
mov esi, dword [edx]
call fcn.0040847a
push eax
push 0x40c
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040847d
test al, al
je 0x41e62c
mov edi, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], esi
call fcn.00408412
push esi
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, 0x80004004
cmp eax, esi
jne 0x41e61d
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x24]
call fcn.00401f8e
lea ecx, [esp + 0x10]
mov byte [ebx + 0x95], 1
call fcn.00408406
jmp 0x41e69d
lea edi, [ebx + 0x68]
test eax, eax
je 0x41e62c
and dword [ebx + 0x60], 0
and dword [ebx + 0x64], 0
lea ecx, [esp + 0x10]
call fcn.00408406
cmp dword [esp + 0x24], 0
je 0x41e687
push ecx
mov ecx, edi
call fcn.0040847d
test al, al
je 0x41e687
lea ecx, [esp + 0x18]
call fcn.00408400
mov ecx, edi
call fcn.00408412
mov edx, eax
lea ecx, [esp + 0x18]
mov esi, dword [edx]
call fcn.0040847a
push eax
push 0x401
mov ecx, edx
call dword [esi]
lea ecx, [esp + 0x18]
call fcn.0041cfb2
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.00408406
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.0043b572
mov esp, ebp
pop ebp
ret 0xc