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

Disassembly:
push 0xffffffffffffffff
push 0x4b05f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc4], 1
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x5c]
call fcn.00440ab0
mov byte [esp + 0xc4], 2
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x41cb4f
xor ecx, ecx
test edi, edi
je 0x41c5df
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x5c]
nop
cmp edx, 0x10
lea eax, [esp + 0x5c]
cmovae eax, esi
cmp byte [eax + ecx], 0x3d
jne 0x41c5da
cmp edx, 0x10
lea eax, [esp + 0x5c]
cmovae eax, esi
mov byte [eax + ecx], 0x7c
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
inc ecx
cmp ecx, edi
jb 0x41c5b0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xe4]
call fcn.00401f00
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0xec]
lea edx, [esp + 0xe0]
cmovae edx, dword [esp + 0xe0]
lea ecx, [esp + 0x94]
call fcn.0043e0a0
mov byte [esp + 0xcc], 3
lea ecx, [esp + 0x94]
call fcn.00406e10
push 0
lea edx, [esp + 0x98]
lea ecx, [esp + 0x80]
call fcn.00433110
add esp, 0xc
mov byte [esp + 0xc4], 4
mov ebp, dword [esp + 0xe8]
and ebp, 0x80000001
jns 0x41c66e
dec ebp
or ebp, 0xfffffffe
inc ebp
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0xc4], 5
xor edi, edi
cmp dword [esp + 0x84], edi
jbe 0x41c75d
mov ecx, dword [esp + 0x54]
mov edi, edi
mov eax, edi
and eax, 1
cmp eax, ebp
jne 0x41c74f
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
mov bl, byte [eax + edi]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x41c882
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x41c882
cmp dword [esp + 0x58], esi
jae 0x41c6fe
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.00402800
jmp 0x41c717
test esi, esi
jne 0x41c71d
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
mov dword [esp + 0x54], esi
cmovae eax, dword [esp + 0x44]
mov byte [eax], 0
mov ecx, dword [esp + 0x54]
test esi, esi
setne al
test al, al
je 0x41c74f
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
mov byte [ecx + eax], bl
lea eax, [esp + 0x44]
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x54], esi
cmovae eax, dword [esp + 0x44]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x54]
inc edi
cmp edi, dword [esp + 0x84]
jb 0x41c6b0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
call fcn.0041e1b0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
push 0
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0xe0]
push eax
call fcn.0040e3f0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0xc4], 7
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x40]
cmp edi, ecx
ja 0x41c825
cmp ebx, ecx
je 0x41c825
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00402420
test al, al
je 0x41c816
cmp dword [esp + 0x40], 0x10
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], edi
cmovae eax, dword [esp + 0x2c]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0xe8]
cmp dword [esp + 0xec], 0x10
lea esi, [esp + 0xd8]
cmovae esi, dword [esp + 0xd8]
add esi, ecx
mov edi, edi
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
cmp esi, eax
je 0x41c973
mov al, byte [esi - 1]
lea ebp, [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
dec esi
cmp ebx, 0x10
mov byte [esp + 0x17], al
lea eax, [esp + 0x2c]
cmovae ebp, ecx
cmovae eax, ecx
add ebp, edi
jne 0x41c88c
jmp 0x41c896
push str.string_too_long
call fcn.00489b33
sub ebp, eax
cmp edi, ebp
jb 0x41c969
or eax, 0xffffffff
sub eax, edi
cmp eax, 1
jbe 0x41c882
lea edx, [edi + 1]
mov dword [esp + 0x18], edx
cmp edx, 0xfffffffe
ja 0x41c882
cmp ebx, edx
jae 0x41c948
push edi
push edx
lea ecx, [esp + 0x34]
call fcn.00402800
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
test edx, edx
je 0x41c840
cmp ebx, 0x10
lea edx, [esp + 0x2c]
lea eax, [esp + 0x2c]
cmovae edx, ecx
cmovae eax, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
sub edi, ebp
je 0x41c914
add eax, ebp
push edi
push eax
mov eax, dword [esp + 0x28]
inc eax
add eax, ebp
push eax
call fcn.0048d8b0
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ebx, 0x10
lea eax, [esp + 0x2c]
cmovae eax, ecx
mov cl, byte [esp + 0x17]
mov byte [eax + ebp], cl
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x3c], edx
cmovae eax, dword [esp + 0x2c]
mov byte [eax + edx], 0
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
jmp 0x41c840
test edx, edx
jne 0x41c8d7
cmp ebx, 0x10
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x2c]
cmovae eax, ecx
mov byte [eax], dl
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
jmp 0x41c840
push str.invalid_string_position
call fcn.00489b61
cmp edi, 5
jbe 0x41c9bc
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
cmp ebx, 0x10
lea ecx, [esp + 0x2c]
cmovae eax, esi
cmovae ecx, esi
mov dl, byte [eax + 5]
lea eax, [esp + 0x2c]
cmovae eax, esi
mov al, byte [edi + eax - 5]
mov byte [ecx + 5], al
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x3c]
cmovae ecx, dword [esp + 0x2c]
mov byte [eax + ecx - 5], dl
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x41c9fa
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
cmp ebx, 0x10
lea ecx, [esp + 0x2c]
cmovae eax, esi
cmovae ecx, esi
mov dl, byte [eax]
lea eax, [esp + 0x2c]
cmovae eax, esi
mov al, byte [edi + eax - 1]
mov byte [ecx], al
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x3c]
cmovae ecx, dword [esp + 0x2c]
mov byte [eax + ecx - 1], dl
mov ebp, dword [esp + 0x24]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
mov esi, dword [esp + 0x40]
cmp esi, 0x10
jae 0x41ca35
mov eax, dword [esp + 0x3c]
inc eax
je 0x41ca4c
push eax
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0048d8b0
mov esi, dword [esp + 0x4c]
add esp, 0xc
jmp 0x41ca4c
lea eax, [esp + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x1f]
call fcn.00402a60
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0x1c], 1
mov byte [esp + 0xc4], 5
cmp dword [esp + 0x40], 0x10
jb 0x41ca8e
push dword [esp + 0x2c]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0xc4], 4
cmp dword [esp + 0x58], 0x10
jb 0x41cabe
push dword [esp + 0x44]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x88], 0x10
jb 0x41caf1
push dword [esp + 0x74]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0xc4], 2
cmp dword [esp + 0xa0], 8
jb 0x41cb2d
push dword [esp + 0x8c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
jmp 0x41cb69
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
mov dword [esp + 0x1c], 1
mov byte [esp + 0xc4], 1
cmp dword [esp + 0x70], 0x10
jb 0x41cb84
push dword [esp + 0x5c]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0xc4], 0
cmp dword [esp + 0xec], 0x10
jb 0x41cbba
push dword [esp + 0xd8]
call fcn.0048e056
add esp, 4
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov eax, ebp
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0048d894
add esp, 0xb4
ret 0x24