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

Disassembly:
mov eax, 0x4670b2
call fcn.0045cf28
sub esp, 0xe0
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041d573
xor ebx, ebx
cmp eax, ebx
jne 0x41d13d
cmp dword [esi], ebx
jne 0x41c9ef
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0041c661
cmp eax, ebx
jne 0x41d13d
mov eax, dword [esi]
lea ecx, [eax + 4]
mov eax, dword [eax + 4]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.00404cbb
mov dword [ebp - 0x38], 0x46bc68
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.00404cbb
mov dword [ebp - 0x60], 0x46bc60
push 1
lea ecx, [ebp - 0x4c]
pop edi
mov byte [ebp - 4], 1
call fcn.00404cbb
mov dword [ebp - 0x4c], 0x46bba8
mov eax, dword [esi + 0x60]
cmp dword [esi + 0x9c], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x10], edi
jle 0x41ca99
lea ecx, [ebp - 0xec]
call fcn.0040c1dc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0041dd3a
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.0040c240
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.0040c22c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.0040c2a2
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x9c]
jl 0x41ca46
mov eax, dword [esi + 0x9c]
mov dword [ebp + 0x10], edi
cmp eax, edi
jle 0x41cb25
push 0xc
call fcn.00406a7f
cmp eax, ebx
pop ecx
je 0x41cabf
mov dword [eax + 4], ebx
mov dword [eax], 0x46bc50
mov edi, eax
jmp 0x41cac1
xor edi, edi
cmp edi, ebx
mov dword [ebp - 0x10], edi
je 0x41cace
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [ebp - 0x4c]
mov dword [edi + 8], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041947d
push 4
call fcn.00406a7f
cmp eax, ebx
pop ecx
je 0x41cafb
mov dword [eax], edi
jmp 0x41cafd
xor eax, eax
push eax
lea ecx, [ebp - 0x60]
call fcn.004194d2
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41cb17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x9c]
jl 0x41caa6
xor edi, edi
cmp dword [ebp - 0x20], ebx
jle 0x41cb3f
mov ecx, dword [esi]
push ebx
add ecx, 4
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x41cb2c
cmp dword [esi + 0x88], ebx
jne 0x41cb9d
mov dword [ebp - 0x4c], 0x46bba8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00407371
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040734d
mov dword [ebp - 0x60], 0x46bc60
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00407371
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0040734d
mov dword [ebp - 0x38], 0x46bc68
mov dword [ebp - 4], 7
mov esi, 0x80004005
jmp 0x41d127
lea eax, [ebp - 0x64]
lea ecx, [esi + 0x58]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x8c]
push dword [eax]
call fcn.00419163
cmp dword [ebp + 0xc], ebx
je 0x41cc25
push 4
lea ecx, [ebp - 0xa0]
call fcn.00403f02
mov dword [ebp - 0xa0], 0x46bb7c
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov byte [ebp - 4], 8
cmp dword [ecx + eax*8], ebx
jbe 0x41cc04
cmp edi, dword [ebp - 0x64]
jne 0x41cbec
push dword [ebp + 0xc]
jmp 0x41cbed
push ebx
lea ecx, [ebp - 0xa0]
call fcn.004194d2
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, dword [ecx + eax*8]
jb 0x41cbe2
mov ecx, dword [esi]
push ebx
push dword [ebp - 0x94]
add ecx, 4
mov edx, dword [ecx]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.0040734d
push 0x20
call fcn.00406a7f
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x41cc41
mov ecx, eax
call fcn.0041d2ca
jmp 0x41cc43
xor eax, eax
cmp eax, ebx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xac], eax
je 0x41cc5a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x18
mov byte [ebp - 4], 0xa
call fcn.00406a7f
cmp eax, ebx
pop ecx
je 0x41cc7a
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], 0x46bc40
mov edi, eax
jmp 0x41cc7c
xor edi, edi
cmp edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xa4], edi
je 0x41cc8f
mov eax, dword [edi]
push edi
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.0041d14e
push dword [ebp + 0x18]
lea ecx, [edi + 8]
call fcn.0040d26d
mov dword [edi + 0x10], ebx
push 4
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x14], ebx
call fcn.00403f02
mov dword [ebp - 0x8c], 0x46bba0
push 4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.00403f02
mov dword [ebp - 0x78], 0x46bb98
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
call fcn.004194d2
push edi
lea ecx, [ebp - 0x78]
call fcn.004194d2
push 1
pop eax
cmp dword [esi + 0x9c], eax
mov dword [ebp + 0x10], eax
jle 0x41cd26
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [ebp - 0x78]
push dword [eax]
call fcn.004194d2
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x9c]
jl 0x41cd04
cmp dword [esi + 0x10], ebx
mov dword [ebp + 0x10], ebx
jle 0x41ce74
mov eax, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x14]
shl edi, 2
mov eax, dword [edi + eax]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x41cd60
mov eax, ecx
jmp 0x41cd63
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x46b338
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x41cd7e
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp + 8], ebx
mov eax, dword [esi]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x41cd9b
mov eax, ecx
jmp 0x41cd9e
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x46b3b8
push eax
call dword [ecx]
cmp dword [ebp + 8], ebx
je 0x41ce40
push 0x18
call fcn.00406a7f
mov edi, eax
pop ecx
mov dword [ebp - 0x24], edi
cmp edi, ebx
mov byte [ebp - 4], 0x10
je 0x41cde3
mov dword [edi], 0x46b718
lea ecx, [edi + 8]
mov dword [edi + 4], ebx
call fcn.0041d1a0
mov dword [edi], 0x46bc30
jmp 0x41cde5
xor edi, edi
cmp edi, ebx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xa8], edi
je 0x41cdf9
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [edi + 0x14], ebx
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x11
call dword [ecx + 0xc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 8]
call fcn.0040d7a1
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x24]
mov eax, dword [edi + 0x10]
mov ecx, dword [ecx + 0x10]
push eax
push ecx
call fcn.0045d1f0
add esp, 0xc
cmp edi, ebx
mov byte [ebp - 4], 0xf
je 0x41ce40
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x41ce51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x41ce62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x10]
jl 0x41cd32
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp dword [esi + 0x10], ebx
mov dword [ebp - 0x14], eax
jle 0x41cec4
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, 0x3030103
jne 0x41ce9c
cmp eax, ebx
je 0x41cea8
cmp edx, 0x303011b
jne 0x41ceb5
cmp eax, ebx
jne 0x41ceb5
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 0x10]
cmp edx, eax
jge 0x41ceb5
mov dword [ebp - 0x14], edx
add ecx, 4
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, dword [esi + 0x10]
jl 0x41ce89
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x20]
mov dword [eax + 0x70], ecx
mov eax, dword [esi + 4]
push dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x6c]
push 1
push ebx
push dword [ebp - 0x80]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x41cf7e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.0040734d
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.0040734d
cmp edi, ebx
mov byte [ebp - 4], 0xa
je 0x41cf19
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41cf2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x4c], 0x46bba8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.00407371
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040734d
mov dword [ebp - 0x60], 0x46bc60
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
call fcn.00407371
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0040734d
mov dword [ebp - 0x38], 0x46bc68
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 0x14
jmp 0x41d127
push dword [ebp + 0x14]
lea eax, [esi + 0xfc]
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.004196c6
lea eax, [esi + 0xa8]
push eax
call fcn.0041d1d9
mov eax, dword [ebp - 0x18]
push dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0042bb4b
push 1
pop ebx
cmp dword [esi + 0x9c], ebx
jle 0x41cff5
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + ebx*4 - 4]
mov ecx, edi
call fcn.0040c37c
mov ecx, edi
call fcn.0040c3d8
push dword [ebp + 0x18]
mov ecx, edi
call fcn.0040c3f1
push dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.0042bb4b
inc ebx
cmp ebx, dword [esi + 0x9c]
jl 0x41cfbe
mov eax, dword [esi + 0xf8]
xor edi, edi
cmp dword [eax + 0x90], edi
jle 0x41d066
mov edx, dword [esi + 0x74]
and dword [ebp + 0x18], 0
test edx, edx
jle 0x41d02b
mov eax, dword [eax + 0xa0]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x78]
cmp dword [eax], ecx
je 0x41d037
inc dword [ebp + 0x18]
add eax, 8
cmp dword [ebp + 0x18], edx
jl 0x41d01c
or eax, 0xffffffff
test eax, eax
jge 0x41d03c
mov eax, dword [ebp + 0xc]
jmp 0x41d044
mov eax, dword [ebp + 0x18]
jmp 0x41d02e
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [eax + 0x3c]
call fcn.0042bb4b
mov eax, dword [esi + 0xf8]
inc edi
cmp edi, dword [eax + 0x90]
jl 0x41d005
mov eax, dword [ebp - 0x20]
lea edi, [eax - 1]
test edi, edi
jl 0x41d09c
sub eax, edi
lea ebx, [eax*4 - 4]
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
add eax, 8
mov ecx, dword [ebx + ecx]
push eax
add ecx, 8
call fcn.004134f1
dec edi
add ebx, 4
test edi, edi
jge 0x41d079
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.0040734d
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.0040734d
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x41d0c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
test eax, eax
je 0x41d0d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x4c], 0x46bba8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x15
call fcn.00407371
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040734d
mov dword [ebp - 0x60], 0x46bc60
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
call fcn.00407371
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0040734d
mov dword [ebp - 0x38], 0x46bc68
mov dword [ebp - 4], 0x17
xor esi, esi
lea ecx, [ebp - 0x38]
call fcn.00407371
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040734d
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c