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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464d30
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x479700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x479700]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
test esi, esi
je 0x41a260
mov al, byte [edi]
cmp al, 0x2b
je 0x41a259
cmp al, 0x2d
jne 0x41a260
mov ebx, 1
jmp 0x41a262
xor ebx, ebx
mov eax, dword [ecx + 0x14]
and eax, 0x3000
mov dword [esp + 0x18], ebx
cmp eax, 0x3000
je 0x41a27c
mov edx, 0x471000
jmp 0x41a2a0
lea eax, [ebx + 2]
mov edx, 0x471004
cmp eax, esi
ja 0x41a2a0
cmp byte [edi + ebx], 0x30
jne 0x41a2a0
mov cl, byte [edi + ebx + 1]
cmp cl, 0x78
je 0x41a29c
cmp cl, 0x58
jne 0x41a2a0
mov dword [esp + 0x18], eax
push edx
push edi
call fcn.004449d0
mov dword [esp + 0x40], eax
mov eax, 0x2e
mov word [esp + 0x28], ax
call fcn.00445a38
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004449d0
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
call fcn.0040845c
push eax
mov dword [esp + 0x84], 0
call fcn.00414d90
mov dword [esp + 0x84], 0xffffffff
add esp, 4
mov ecx, dword [esp + 0x24]
mov ebx, eax
test ecx, ecx
je 0x41a31c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41a31c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx]
mov ecx, ebx
push 0x30
mov eax, dword [eax + 0x20]
call eax
mov byte [esp + 0x34], al
mov ecx, 0xf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
cmp esi, 0xffffffff
jne 0x41a350
push str.string_too_long
call fcn.0042dfa2
cmp esi, 0xfffffffe
jbe 0x41a35f
push str.string_too_long
call fcn.0042dfa2
cmp esi, ecx
jbe 0x41a375
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.00404947
mov ecx, dword [esp + 0x54]
jmp 0x41a382
test esi, esi
jne 0x41a384
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
test esi, esi
setne al
test al, al
je 0x41a3cf
lea eax, [esp + 0x40]
cmp esi, 1
jne 0x41a3a1
cmp ecx, 0x10
cmovae eax, dword [esp + 0x40]
mov byte [eax], 0
jmp 0x41a3b5
cmp ecx, 0x10
push esi
cmovae eax, dword [esp + 0x44]
push 0
push eax
call fcn.004469f0
add esp, 0xc
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 0x50], esi
cmovae eax, dword [esp + 0x40]
mov byte [eax + esi], 0
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
mov dword [esp + 0x80], 1
mov edx, dword [ebx]
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
mov ecx, ebx
push eax
lea eax, [esi + edi]
push eax
push edi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.0040845c
push eax
mov byte [esp + 0x84], 2
call fcn.0041aee0
mov byte [esp + 0x84], 1
add esp, 4
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x41a439
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41a439
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.0041ad50
mov byte [esp + 0x80], 3
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x41a474
mov eax, dword [ebp + 0x24]
push dword [esp + 0x34]
push eax
lea ebx, [ecx + eax]
push ecx
jmp 0x41a4c4
mov esi, dword [esp + 0x34]
mov edi, dword [ebp + 0x24]
push esi
push dword [ebp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
lea ebx, [eax + edi]
call fcn.00403e2f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push esi
push dword [ebp + 0x28]
inc eax
push eax
call fcn.00403e2f
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x54], 0x10
mov cl, al
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push esi
push edi
push edx
mov byte [eax + edx], cl
lea ecx, [esp + 0x4c]
call fcn.00403e2f
cmp dword [esp + 0x6c], 0x10
lea edx, [esp + 0x58]
mov ecx, dword [esp + 0x54]
cmovae edx, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov al, byte [edx]
cmp al, 0x7f
je 0x41a5dd
test al, al
jle 0x41a5dd
movsx edi, al
mov eax, ebx
sub eax, dword [esp + 0x18]
cmp edi, eax
jae 0x41a5dd
sub ebx, edi
cmp esi, ebx
jb 0x41a617
or eax, 0xffffffff
sub eax, esi
cmp eax, 1
jbe 0x41a346
lea edi, [esi + 1]
mov dword [esp + 0x2c], edi
cmp edi, 0xfffffffe
ja 0x41a346
cmp ecx, edi
jae 0x41a5fa
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.00404947
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
test edi, edi
je 0x41a5c5
mov edx, dword [esp + 0x40]
lea edi, [esp + 0x40]
cmp ecx, 0x10
lea eax, [esp + 0x40]
cmovae edi, edx
cmovae eax, edx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
sub esi, ebx
je 0x41a592
add eax, ebx
push esi
push eax
mov eax, dword [esp + 0x2c]
inc eax
add eax, ebx
push eax
call fcn.00444380
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x40]
cmp ecx, 0x10
lea eax, [esp + 0x40]
mov cl, byte [esp + 0x1f]
cmovae eax, edx
mov edx, dword [esp + 0x14]
mov byte [ebx + eax], cl
lea eax, [esp + 0x40]
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x50], edi
cmovae eax, dword [esp + 0x40]
mov byte [edi + eax], 0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp byte [edx + 1], 0
lea eax, [edx + 1]
cmovg edx, eax
mov dword [esp + 0x14], edx
mov al, byte [edx]
cmp al, 0x7f
jne 0x41a4f1
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x24], 0
jl 0x41a621
jg 0x41a5ef
cmp dword [eax + 0x20], 0
jbe 0x41a621
mov edi, dword [eax + 0x20]
cmp edi, esi
jbe 0x41a621
sub edi, esi
jmp 0x41a623
test edi, edi
jne 0x41a555
cmp ecx, 0x10
mov dword [esp + 0x50], edi
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
mov byte [eax], 0
jmp 0x41a5bd
push str.invalid_string_position
call fcn.0042dfd0
xor edi, edi
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x41a6d4
cmp eax, 0x100
je 0x41a68a
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x34]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041ace0
push dword [esp + 0x30]
mov ecx, eax
xor edi, edi
cmp dword [esp + 0x70], 0x10
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push eax
push dword [ecx + 4]
lea eax, [esp + 0x50]
push dword [ecx]
push eax
push ebx
call fcn.0041ac70
add esp, 0x30
jmp 0x41a6f9
push dword [esp + 0x18]
cmp ecx, 0x10
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041ac70
mov ecx, eax
push edi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x4c]
push dword [ecx + 4]
push dword [ecx]
push eax
push ebx
call fcn.0041ace0
add esp, 0x30
xor edi, edi
jmp 0x41a6f9
push dword [esp + 0x18]
cmp ecx, 0x10
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041ac70
add esp, 0x18
mov edx, dword [eax]
cmp dword [esp + 0x54], 0x10
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
sub esi, dword [esp + 0x18]
add eax, dword [esp + 0x18]
push esi
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push edx
push eax
push ebx
call fcn.0041ac70
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
push edi
mov ecx, dword [eax]
push dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push esi
push ebx
mov dword [ebp + 0x14], eax
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
call fcn.0041ace0
add esp, 0x30
cmp dword [esp + 0x6c], 0x10
jb 0x41a774
push dword [esp + 0x58]
call fcn.00442fe0
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jb 0x41a79c
push dword [esp + 0x40]
call fcn.00442fe0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00445a5e
mov esp, ebp
pop ebp
ret