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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov edi, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], edx
push 6
push 0xc3d738
push edi
call fcn.00416b00
add esp, 0xc
cmp dword [esp + 0x40], 0
je 0x41d7d4
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
lea ecx, [esi + edx - 1]
mov dword [esp + 4], eax
cmp ecx, eax
jae 0x41d9cc
mov edi, dword [esp + 0x70]
mov ebx, esi
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x58]
sub ebx, edi
mov dword [esp + 0x84], edi
lea edi, [esi - 1]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x80], ebx
lea ebx, [esi + esi - 1]
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], edi
cmp dword [esp + 0x2c], 0xffffffff
je 0x41d628
mov eax, dword [esp + 8]
mov edi, 1
movzx ecx, byte [eax + ecx]
xor eax, eax
shld eax, edi, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edi
cmovne edi, ecx
and eax, dword [esp + 0x14]
and edi, dword [esp + 0xc]
or edi, eax
je 0x41d677
mov ecx, dword [esp + 0x28]
mov edi, edx
mov ebx, ecx
jmp 0x41d6f0
mov edi, edx
nop word [eax + eax]
mov eax, dword [esp + 8]
mov esi, 1
xor ebx, ebx
movzx ecx, byte [eax + ecx]
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, ebx
and eax, dword [esp + 0x14]
and esi, dword [esp + 0xc]
or esi, eax
jne 0x41d6cd
mov eax, dword [esp + 0x24]
lea ecx, [eax + edi]
add edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add eax, edi
cmp eax, dword [esp + 4]
jb 0x41d630
jmp 0x41d9a5
mov eax, dword [esp + 0x1c]
add edx, esi
mov edi, edx
lea ebx, [eax + edx]
cmp ebx, dword [esp + 4]
jae 0x41e035
nop dword [eax]
mov eax, dword [esp + 8]
mov edx, 1
movzx ecx, byte [eax + ebx]
xor eax, eax
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x14]
and edx, dword [esp + 0xc]
or edx, eax
jne 0x41d6d7
add ebx, esi
add edi, esi
cmp ebx, dword [esp + 4]
jb 0x41d690
jmp 0x41d9bd
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
jmp 0x41d6f0
mov dword [esp + 0x30], 0
xor ebx, ebx
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
cmp eax, ecx
cmova ecx, eax
cmp dword [esp + 0x2c], 0xffffffff
cmove ecx, eax
cmp ecx, esi
mov dword [esp + 0x38], ecx
jae 0x41d745
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
lea esi, [eax + edi]
nop dword [eax + eax]
lea edx, [edi + ecx]
cmp edx, dword [esp + 4]
jae 0x41e070
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + ecx]
cmp al, byte [esi + ecx]
jne 0x41d7be
inc ecx
cmp dword [esp + 0x10], ecx
jne 0x41d720
mov ecx, dword [esp + 0x34]
nop dword [eax]
mov edx, dword [esp + 0x10]
cmp ebx, ecx
jae 0x41d804
dec ecx
cmp ecx, edx
jae 0x41e04c
lea esi, [ecx + edi]
cmp esi, dword [esp + 4]
jae 0x41e05b
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
movzx eax, byte [eax + ecx]
cmp al, byte [edx + esi]
je 0x41d750
add edi, dword [esp + 0x84]
cmp dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x80]
mov edx, edi
mov esi, dword [esp + 0x10]
je 0x41d7a8
mov edx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
cmp ecx, dword [esp + 4]
jb 0x41d5e6
jmp 0x41e035
sub edx, dword [esp + 0x34]
xor eax, eax
inc edx
cmp dword [esp + 0x2c], 0xffffffff
mov edi, edx
mov esi, dword [esp + 0x10]
jne 0x41d79e
jmp 0x41d7a8
lea esi, [esp + 0x88]
lea edi, [esp + 0x40]
nop
mov ecx, esi
mov edx, edi
call fcn.0041bee0
mov eax, dword [esp + 0x88]
cmp eax, 1
je 0x41d7e0
test eax, eax
jne 0x41d8f6
mov edi, dword [esp + 0x8c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, edi
add eax, 6
je 0x41d834
sub esi, eax
jbe 0x41d832
cmp byte [edx + eax], 0xbf
jg 0x41d834
mov ecx, edx
mov edx, dword [ebp + 8]
push 0xc3d76c
push edx
push eax
call fcn.0044a4a0
add esp, 0xc
ud2
jne 0x41d81c
add eax, edx
add esi, eax
mov dword [esp + 4], esi
jmp 0x41d85c
shl edx, 6
add eax, 2
or edx, ecx
lea ecx, [edx - 0x40]
cmp ecx, 7
jb 0x41d85c
nop
add edx, 0xffffffd0
cmp edx, 0xa
jae 0x41d8f6
cmp eax, esi
je 0x41d96b
movzx ebx, byte [eax]
movzx edx, bl
test bl, bl
js 0x41d880
inc eax
lea ecx, [edx - 0x40]
cmp ecx, 7
jae 0x41d850
jmp 0x41d85c
movzx ecx, byte [eax + 1]
and edx, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x41d83e
movzx esi, byte [eax + 2]
shl ecx, 6
and esi, 0x3f
or esi, ecx
cmp bl, 0xf0
jb 0x41d8d9
movzx ecx, byte [eax + 3]
and edx, 7
shl esi, 6
mov ebx, edx
shl ebx, 0x12
and ecx, 0x3f
or ecx, esi
mov esi, dword [esp + 4]
mov edx, ecx
or edx, ebx
cmp edx, 0x110000
je 0x41d96b
add eax, 4
lea ecx, [edx - 0x40]
cmp ecx, 7
jae 0x41d850
jmp 0x41d85c
shl edx, 0xc
add eax, 3
or edx, esi
mov esi, dword [esp + 4]
lea ecx, [edx - 0x40]
cmp ecx, 7
jae 0x41d850
jmp 0x41d85c
mov ecx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
cmp edi, 3
jb 0x41d9d9
movzx eax, word [ecx]
movzx edx, byte [ecx + 2]
xor eax, 0x5a5f
xor edx, 0x4e
or dx, ax
je 0x41d945
movzx eax, word [ecx]
cmp eax, 0x4e5a
je 0x41d98b
mov edx, 3
cmp edi, 4
jb 0x41da56
cmp dword [ecx], 0x4e5a5f5f
je 0x41de54
mov edx, edi
jmp 0x41da56
xor esi, esi
mov ebx, 3
cmp edi, 4
mov eax, edi
jb 0x41d9b3
cmp byte [ecx + 3], 0xbf
mov edx, edi
jle 0x41e101
lea esi, [edx - 3]
mov dword [esp + 8], edx
jmp 0x41d9ff
test edi, edi
je 0x41dfc1
cmp edi, dword [ebp + 8]
jae 0x41dc36
mov ecx, dword [esp + 0x18]
cmp byte [ecx + edi], 0xbf
jg 0x41d9d0
jmp 0x41e0ec
cmp byte [ecx + 2], 0xbf
jle 0x41e0d8
lea esi, [edi - 2]
mov eax, edi
mov ebx, 2
mov dword [esp + 8], edi
jmp 0x41d9ff
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], eax
jmp 0x41d9c9
mov dword [esp + 8], 3
jmp 0x41d9ff
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], edi
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
cmp edi, 3
jae 0x41d906
mov ebx, 2
cmp edi, 2
jne 0x41e004
movzx eax, word [ecx]
cmp eax, 0x4e5a
jne 0x41dab7
xor esi, esi
mov dword [esp + 8], 2
add ebx, ecx
lea eax, [ebx + esi]
mov dword [esp + 4], eax
xor eax, eax
nop word [eax + eax]
cmp esi, eax
je 0x41da1f
cmp byte [ebx + eax], 0
lea eax, [eax + 1]
jns 0x41da10
jmp 0x41da49
test esi, esi
je 0x41da49
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x41dc51
lea ecx, [ebx + 1]
cmp edi, 0x45
je 0x41de8f
cmp edi, 0x110000
jne 0x41dc9e
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x18]
cmp edx, 3
jb 0x41dab7
movzx eax, word [ecx]
cmp eax, 0x525f
je 0x41daee
cmp byte [ecx], 0x52
je 0x41daca
mov ebx, 2
cmp edx, 3
jbe 0x41e004
movzx eax, word [ecx]
mov esi, edx
movzx edx, byte [ecx + 2]
xor eax, 0x5f5f
xor edx, 0x52
or dx, ax
jne 0x41e004
movzx eax, byte [ecx + 3]
mov edx, esi
cmp al, 0xbf
jle 0x41e11d
lea edi, [ecx + 3]
mov ecx, 0xfffffffd
add al, 0xbf
mov ebx, 2
cmp al, 0x19
jbe 0x41db11
jmp 0x41e004
cmp byte [ecx], 0x52
mov edx, 2
mov ebx, 2
jne 0x41e004
movzx eax, byte [ecx + 1]
cmp al, 0xbf
jle 0x41e08e
lea edi, [ecx + 1]
mov ecx, 0xffffffff
add al, 0xbf
mov ebx, 2
cmp al, 0x19
jbe 0x41db11
jmp 0x41e004
movzx eax, byte [ecx + 2]
cmp al, 0xbf
jle 0x41e0a0
lea edi, [ecx + 2]
mov ecx, 0xfffffffe
add al, 0xbf
mov ebx, 2
cmp al, 0x19
ja 0x41e004
add ecx, edx
xor eax, eax
nop word cs:[eax + eax]
nop
cmp ecx, eax
je 0x41db32
cmp byte [edi + eax], 0
lea eax, [eax + 1]
jns 0x41db20
jmp 0x41e004
mov dword [esp + 8], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x40]
xor edx, edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
call fcn.00418700
test al, al
jne 0x41e0b2
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x41e004
movzx esi, byte [esp + 0x47]
movzx edx, word [esp + 0x45]
movzx eax, byte [esp + 0x44]
movq xmm0, qword [esp + 0x48]
shl esi, 0x10
or edx, esi
shl edx, 8
or edx, eax
movd eax, xmm0
cmp eax, edx
jae 0x41dc13
movzx ebx, byte [ecx + eax]
add bl, 0xbf
cmp bl, 0x1a
jae 0x41dc13
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x40]
xor edx, edx
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00418700
test al, al
jne 0x41e0b2
mov ecx, dword [esp + 0x40]
mov ebx, 2
test ecx, ecx
je 0x41e004
movzx esi, byte [esp + 0x47]
movzx edx, word [esp + 0x45]
movzx ebx, byte [esp + 0x44]
mov eax, dword [esp + 0x48]
shl esi, 0x10
or edx, esi
shl edx, 8
or edx, ebx
mov esi, edi
test eax, eax
je 0x41de9f
mov edi, edx
sub edi, eax
jbe 0x41dea3
cmp byte [ecx + eax], 0xbf
jg 0x41dea9
jmp 0x41e113
mov ecx, dword [esp + 0x18]
jne 0x41e0ec
mov edi, dword [ebp + 8]
cmp edi, 3
jb 0x41d9d9
jmp 0x41d906
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x41de7e
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x41e01f
movzx edx, byte [ebx + 3]
and edi, 7
shl eax, 6
lea ecx, [ebx + 4]
shl edi, 0x12
and edx, 0x3f
or edx, eax
or edi, edx
cmp edi, 0x45
jne 0x41da3d
jmp 0x41de8f
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
lea eax, [edi - 0x30]
mov dword [esp + 0x10], ecx
cmp eax, 9
ja 0x41da49
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
jmp 0x41dce5
inc esi
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0xc]
cmp edi, 0x110000
je 0x41da49
mov ecx, dword [esp + 0x10]
lea esi, [edi - 0x30]
mov eax, ebx
mov ebx, edx
cmp esi, 0xa
jae 0x41dda4
mov eax, dword [esp + 0x20]
mov edx, 0xa
mul edx
mov edx, eax
seto al
cmovo edx, ebx
add esi, edx
setb bh
test al, al
mov dword [esp + 0x20], esi
jne 0x41da49
test bh, bh
jne 0x41da49
cmp ecx, dword [esp + 4]
mov esi, ecx
je 0x41da49
movzx ebx, byte [esi]
movzx edi, bl
test bl, bl
jns 0x41dcd0
movzx ecx, byte [esi + 1]
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x41dd7e
movzx eax, byte [esi + 2]
shl ecx, 6
mov dword [esp + 0x24], edi
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x41dd8f
movzx ecx, byte [esi + 3]
mov edi, dword [esp + 0x24]
shl eax, 6
add esi, 4
mov dword [esp + 0x10], esi
and edi, 7
and ecx, 0x3f
shl edi, 0x12
or ecx, eax
jmp 0x41dd88
add esi, 2
shl edi, 6
mov dword [esp + 0x10], esi
or edi, ecx
jmp 0x41dcd5
mov edi, dword [esp + 0x24]
add esi, 3
mov dword [esp + 0x10], esi
shl edi, 0xc
or edi, eax
jmp 0x41dcd5
cmp dword [esp + 0x20], 0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov ebx, eax
jne 0x41ddce
inc dword [esp + 0x1c]
cmp edi, 0x45
jne 0x41dcae
jmp 0x41de97
inc ecx
dec dword [esp + 0x20]
je 0x41ddb5
cmp ecx, dword [esp + 4]
je 0x41da49
mov edx, ecx
movzx edx, byte [edx]
movzx edi, dl
test dl, dl
jns 0x41ddc7
movzx ebx, byte [ecx + 1]
and edi, 0x1f
and ebx, 0x3f
cmp dl, 0xdf
jbe 0x41de33
movzx eax, byte [ecx + 2]
shl ebx, 6
mov esi, edi
and eax, 0x3f
or eax, ebx
cmp dl, 0xf0
jb 0x41de3d
movzx edi, byte [ecx + 3]
and esi, 7
shl eax, 6
mov ebx, dword [esp + 0xc]
shl esi, 0x12
and edi, 0x3f
or edi, eax
or edi, esi
mov esi, dword [esp + 0x14]
cmp edi, 0x110000
je 0x41da49
add ecx, 4
jmp 0x41ddc8
shl edi, 6
add ecx, 2
or edi, ebx
jmp 0x41de47
mov edi, esi
add ecx, 3
shl edi, 0xc
or edi, eax
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x41ddc8
xor esi, esi
mov ebx, 4
cmp edi, 5
mov eax, edi
jb 0x41e012
cmp byte [ecx + 4], 0xbf
mov edx, edi
jle 0x41e124
lea esi, [edx - 4]
mov dword [esp + 8], edx
jmp 0x41d9ff
lea ecx, [ebx + 2]
shl edi, 6
or edi, edx
cmp edi, 0x45
jne 0x41da3d
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 4]
sub eax, ecx
jmp 0x41deaf
mov edi, edx
jmp 0x41dea9
jne 0x41e113
add ecx, eax
xor ebx, ebx
mov eax, edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 8]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x41dfc8
cmp byte [ecx], 0x2e
jne 0x41dfc1
mov dword [esp + 4], eax
lea edi, [ecx + eax]
mov dl, 0x2e
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
test dl, dl
jns 0x41df80
nop word cs:[eax + eax]
nop
movzx esi, byte [ecx + 1]
mov eax, edx
and al, 0x1f
movzx eax, al
and esi, 0x3f
cmp dl, 0xdf
jbe 0x41df49
movzx ebx, byte [ecx + 2]
shl esi, 6
and ebx, 0x3f
or ebx, esi
cmp dl, 0xf0
jb 0x41df61
movzx edx, byte [ecx + 3]
and eax, 7
shl ebx, 6
mov esi, dword [esp + 0x14]
shl eax, 0x12
and edx, 0x3f
or edx, ebx
or edx, eax
cmp edx, 0x110000
je 0x41e03e
mov ebx, dword [esp + 0xc]
add ecx, 4
lea eax, [edx - 0x21]
cmp eax, 0x19
jae 0x41df8c
jmp 0x41dfa9
shl eax, 6
add ecx, 2
or eax, esi
mov esi, dword [esp + 0x14]
mov edx, eax
lea eax, [edx - 0x21]
cmp eax, 0x19
jae 0x41df8c
jmp 0x41dfa9
shl eax, 0xc
mov esi, dword [esp + 0x14]
add ecx, 3
or ebx, eax
mov edx, ebx
mov ebx, dword [esp + 0xc]
lea eax, [edx - 0x21]
cmp eax, 0x19
jae 0x41df8c
jmp 0x41dfa9
inc ecx
movzx edx, dl
lea eax, [edx - 0x21]
cmp eax, 0x19
jb 0x41dfa9
mov eax, edx
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp eax, 0x1a
jb 0x41dfa9
lea eax, [edx - 0x3a]
cmp eax, 7
jb 0x41dfa9
lea eax, [edx - 0x5b]
cmp eax, 6
jae 0x41dfb9
cmp ecx, edi
je 0x41dfd2
movzx edx, byte [ecx]
test dl, dl
jns 0x41df80
jmp 0x41def0
add edx, 0xffffff81
cmp edx, 0xfffffffc
jae 0x41dfa9
mov ebx, 2
jmp 0x41e004
mov dword [esp + 4], 0
jmp 0x41dfda
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], 4
jmp 0x41d9ff
shl edi, 0xc
lea ecx, [ebx + 3]
or edi, eax
cmp edi, 0x45
jne 0x41da3d
jmp 0x41de8f
mov dword [esp + 0x5c], edx
jmp 0x41d9c9
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x41dfda
push 0xc3da3c
call fcn.00449fb0
add esp, 4
ud2
mov edx, dword [esp + 4]
mov ecx, esi
push 0xc3da4c
call fcn.00449fb0
add esp, 4
ud2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 4]
add ecx, edi
cmp edx, ecx
cmova ecx, edx
push 0xc3da5c
call fcn.00449fb0
add esp, 4
ud2
push 0xc3d480
push edx
push 1
call fcn.0044a4a0
add esp, 0xc
ud2
push 0xc3d490
push edx
push 2
call fcn.0044a4a0
add esp, 0xc
ud2
lea eax, [esp + 0x88]
mov ecx, 0xc3d4a0
mov edx, 0x3d
push 0xc3d4e0
push 0xc3d26c
push eax
call fcn.0044a2f0
add esp, 0xc
ud2
mov edx, edi
push 0xc3d314
push edi
push 2
call fcn.0044a4a0
add esp, 0xc
ud2
mov edx, dword [ebp + 8]
push 0xc3d77c
push edi
push 0
call fcn.0044a4a0
add esp, 0xc
ud2
push 0xc3d324
push edx
push 3
call fcn.0044a4a0
add esp, 0xc
ud2
push 0xc3d4f0
jmp 0x41d826
push 0xc3d470
jmp 0x41e106
push 0xc3d304
push edx
push 4
call fcn.0044a4a0
add esp, 0xc
ud2