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

Disassembly:
push 0xe4
mov eax, 0x43e3ff
call fcn.0042cbb7
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.00419e76
xor ebx, ebx
cmp eax, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jne 0x41b042
cmp edx, ebx
jne 0x41b042
jmp 0x41b028
call fcn.00419e76
push edx
push eax
mov ecx, edi
call fcn.00419e49
mov edi, dword [esi + 0x18]
call fcn.00419e76
or eax, edx
mov edi, dword [esi + 0x18]
jne 0x41b01a
call fcn.00419e76
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 4
pop ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], 0x444bd4
cmp dword [ebp - 0x18], 3
mov dword [ebp - 4], ebx
jne 0x41b0ca
cmp dword [ebp - 0x14], ebx
jne 0x41b0ca
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
lea edi, [ebx + 0x150]
push edi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push esi
call fcn.0041abfb
test eax, eax
je 0x41b0a6
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.0041bdd6
mov eax, esi
jmp 0x41b6d5
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.00419e76
push 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
pop ecx
jmp 0x41b0cd
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 8
mov dword [ebp - 0xa8], 0x4445cc
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x94], 0x444a2c
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], 0x4445a8
cmp dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
jne 0x41b193
cmp dword [ebp - 0x14], eax
jne 0x41b193
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebx + 0x50]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x14]
push eax
push ebx
lea edi, [ebx + 0x148]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.0041aa4d
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.00419e76
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x41b1e6
cmp dword [ebx + 0x44], eax
mov dword [ebp + 0x14], eax
jle 0x41b1e6
push 1
lea esi, [ebx + 0x50]
call fcn.00409846
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x14]
mov edi, dword [eax + ecx*4]
call fcn.00416349
push edx
push eax
lea esi, [ebp - 0xa8]
call fcn.004089e9
movzx eax, byte [edi + 0x54]
push eax
lea esi, [ebp - 0x94]
call fcn.00416b16
push dword [edi + 0x50]
lea esi, [ebp - 0x6c]
call fcn.00409846
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebx + 0x44]
jl 0x41b19b
lea edi, [ebx + 0x64]
push dword [edi + 8]
mov eax, dword [edi]
xor esi, esi
push esi
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x41b22d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004116ed
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.004116ed
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.004116ed
jmp 0x41b092
cmp dword [ebp - 0x18], 5
jne 0x41b238
cmp dword [ebp - 0x14], esi
je 0x41b23d
call fcn.00419d3d
mov eax, dword [ebp + 8]
call fcn.00419ab2
mov ebx, eax
mov esi, edi
mov dword [ebp + 0x14], ebx
call fcn.0041174d
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x41b28b
mov dword [ebp + 0x10], eax
lea esi, [ebp - 0xf0]
call fcn.00419a44
push edi
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0041bd63
mov byte [ebp - 4], 3
push dword [ebp - 0xe0]
call fcn.0042768b
dec dword [ebp + 0x10]
pop ecx
jne 0x41b25d
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push ebx
lea esi, [edi + 0x158]
push 9
mov dword [ebp - 0x20], esi
call fcn.004089e9
cmp dword [edi + 8], ebx
je 0x41b2ac
push ebx
push 6
call fcn.004089e9
cmp dword [ebp + 0x14], ebx
jbe 0x41b2be
cmp dword [ebp - 0x64], ebx
je 0x41b2be
push ebx
push 0xa
call fcn.004089e9
xor edi, edi
inc edi
mov esi, 0x444a2c
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00419acd
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 7
mov dword [ebp + 0x10], ebx
jmp 0x41b599
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.00419e76
cmp dword [ebp - 0x24], ebx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], eax
ja case.0x41b35e.22
jb 0x41b34f
cmp dword [ebp - 0x28], 0x40000000
ja case.0x41b35e.22
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x41b35e.22
jmp dword [eax*4 + 0x41b6dd]
mov byte [ebp - 0xc8], bl
push dword [ebp + 8]
lea esi, [ebp - 0x44]
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 8
call fcn.00419e06
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x6c], ebx
jle 0x41b3a7
mov ebx, eax
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + esi*4]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.00419f07
inc esi
cmp esi, dword [ebx + 0x6c]
jl 0x41b38c
lea ebx, [ebp - 0xcc]
mov byte [ebp - 4], 7
call fcn.00419d62
xor ebx, ebx
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.004089e9
jmp 0x41b565
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xe4], 0x444a2c
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 0x6c]
lea eax, [ebp - 0xe4]
call fcn.0041ab1a
mov byte [ebp - 0xc0], bl
push dword [ebp + 8]
lea esi, [ebp - 0x44]
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
call fcn.00419e06
xor eax, eax
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x1c], eax
jbe 0x41b473
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ecx + eax*4]
mov al, byte [edx + eax]
cmp al, bl
mov byte [ecx + 0x1f], al
je 0x41b467
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 8]
lea esi, [edx + 4]
cmp esi, dword [eax + 4]
ja 0x41b238
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], esi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
jb 0x41b42e
lea ebx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.00419d62
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.004116ed
jmp 0x41b3b6
mov ecx, dword [ebp + 0x14]
push esi
lea eax, [ebp - 0x58]
call fcn.0041aac7
xor eax, eax
cmp dword [ebp - 0x50], ebx
jbe 0x41b4ba
mov ecx, dword [ebp - 0x4c]
cmp byte [ecx + eax], bl
je 0x41b4b4
inc dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x50]
jb 0x41b4a9
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xbc]
call fcn.00419acd
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x80]
call fcn.00419acd
jmp 0x41b3b8
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0041aac7
jmp 0x41b3b8
lea eax, [ebp - 0x80]
jmp 0x41b4de
mov edi, dword [ebp + 0xc]
add edi, 0xf0
push dword [ebp + 0x14]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041ab60
jmp 0x41b3b8
mov edi, dword [ebp + 0xc]
add edi, 0x78
jmp 0x41b4fa
mov edi, dword [ebp + 0xc]
add edi, 0xa0
jmp 0x41b4fa
mov edi, dword [ebp + 0xc]
add edi, 0xc8
jmp 0x41b4fa
xor edi, edi
xor esi, esi
cmp edx, ebx
jb 0x41b565
ja 0x41b539
cmp dword [ebp - 0x30], ebx
jbe 0x41b565
mov eax, dword [ebp + 8]
call fcn.00419a98
test al, al
jne 0x41b238
add edi, 1
adc esi, ebx
cmp esi, dword [ebp - 0x2c]
jb 0x41b539
ja 0x41b565
cmp edi, dword [ebp - 0x30]
jb 0x41b539
jmp 0x41b565
push edx
push dword [ebp - 0x30]
call fcn.00419e49
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], bl
ja 0x41b579
cmp byte [eax + 0x131], 2
jbe 0x41b599
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, dword [ebp - 0x30]
jne 0x41b238
cmp ecx, dword [ebp - 0x2c]
jne 0x41b238
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.00419e76
mov dword [ebp - 0x28], eax
or eax, edx
mov dword [ebp - 0x24], edx
jne 0x41b31d
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], ebx
jbe 0x41b5d2
mov ecx, dword [ebp - 0x74]
cmp byte [ecx + eax], bl
je 0x41b5cc
inc dword [ebp + 8]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x41b5c1
xor ecx, ecx
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x1c], ecx
jbe 0x41b676
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0xc]
cmp byte [edx + ecx], bl
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
cmp cl, bl
mov byte [eax + 0x1c], cl
je 0x41b629
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x88]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x10], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x41b650
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0x20]
cmp byte [ecx + esi], bl
sete cl
mov byte [eax + 0x1d], cl
mov ecx, dword [ebp - 0x74]
mov cl, byte [ecx + esi]
inc esi
mov byte [ebp + 0x10], cl
mov dword [ebp - 0x20], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 8], ebx
je 0x41b666
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
add esi, 0x118
call fcn.00416b16
mov ecx, dword [ebp - 0x1c]
inc ecx
cmp ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
jb 0x41b5e0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.004116ed
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.004116ed
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004116ed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004116ed
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.004116ed
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.004116ed
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.0041bdd6
xor eax, eax
call fcn.0042cc8f
ret 0x10