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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4736c0
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 0x30]
test edi, edi
je 0x41ae0c
mov eax, dword [ebp + 0x20]
mov al, byte [eax]
cmp al, 0x2b
je 0x41ae05
cmp al, 0x2d
jne 0x41ae0c
mov esi, 1
jmp 0x41ae0e
xor esi, esi
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.00407ce0
and eax, 0x3000
cmp eax, 0x3000
mov eax, dword [ebp + 0x20]
je 0x41ae32
mov ecx, 0x480a00
jmp 0x41ae58
lea ecx, [esi + 2]
cmp ecx, edi
ja 0x41ae53
cmp byte [esi + eax], 0x30
jne 0x41ae53
mov dl, byte [esi + eax + 1]
cmp dl, 0x78
je 0x41ae4d
cmp dl, 0x58
jne 0x41ae53
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, 0x480a04
push ecx
push eax
call fcn.00454590
mov dword [esp + 0x30], eax
mov eax, 0x2e
mov word [esp + 0x1c], ax
call fcn.004547ae
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
mov cl, byte [ecx]
push eax
push dword [ebp + 0x20]
mov byte [esp + 0x24], cl
call fcn.00454590
add esp, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00411260
push eax
mov dword [esp + 0x78], 0
call fcn.00413970
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], 0xffffffff
call fcn.00401540
mov eax, dword [esp + 0x1c]
push 0x30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
movzx eax, ax
lea ecx, [esp + 0x13]
mov dword [esp + 0x24], eax
call fcn.00404470
lea ecx, [esp + 0x38]
push eax
call fcn.00404480
lea ecx, [esp + 0x38]
push 0
push 0
call fcn.004047e0
lea ecx, [esp + 0x38]
cmp edi, 0xffffffff
jne 0x41af02
call fcn.00404430
push 0
push edi
call fcn.004052b0
test al, al
je 0x41af26
push 0
push edi
push 0
lea ecx, [esp + 0x44]
call fcn.0041b860
push edi
lea ecx, [esp + 0x3c]
call fcn.00405270
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], 1
call fcn.004048c0
mov ecx, dword [ebp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov edx, dword [edx]
lea eax, [ecx + edi]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call dword [edx + 0x2c]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00411260
push eax
mov byte [esp + 0x78], 2
call fcn.0041c0f0
mov ebx, eax
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x74], 1
call fcn.00401540
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call fcn.0041b7e0
mov byte [esp + 0x74], 3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41afbd
push dword [esp + 0x24]
mov eax, dword [ebp + 0x24]
push eax
lea ebx, [ecx + eax]
push ecx
lea ecx, [esp + 0x44]
call fcn.0041ac80
jmp 0x41b018
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push esi
push dword [ebp + 0x2c]
lea ebx, [eax + edi]
push ecx
lea ecx, [esp + 0x44]
call fcn.0041ac80
mov eax, dword [esp + 0x20]
push esi
push dword [ebp + 0x28]
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0041ac80
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x38]
movzx esi, ax
call fcn.004048c0
mov ecx, dword [esp + 0x20]
push dword [esp + 0x24]
mov word [eax + ecx*2], si
push edi
push ecx
lea ecx, [esp + 0x44]
call fcn.0041ac80
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x50]
call fcn.004044f0
mov edi, eax
mov al, byte [edi]
cmp al, 0x7f
je 0x41b0f0
lea ecx, [ecx]
test al, al
jle 0x41b0f0
movsx ecx, al
mov eax, ebx
sub eax, esi
cmp ecx, eax
jae 0x41b0f0
sub ebx, ecx
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
jb 0x41b136
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x41b12d
lea eax, [ecx + 1]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], eax
call fcn.004052b0
test al, al
je 0x41b0dc
mov eax, dword [esp + 0x48]
sub eax, ebx
push eax
lea ecx, [esp + 0x3c]
lea esi, [ebx + ebx]
call fcn.004048c0
add eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.004048c0
add eax, 2
add eax, esi
push eax
call fcn.00401090
mov eax, dword [esp + 0x3c]
movzx eax, ax
add esp, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004048c0
add eax, esi
push eax
call fcn.004010c0
add esp, 8
lea ecx, [esp + 0x38]
push dword [esp + 0x28]
call fcn.00405270
mov esi, dword [esp + 0x18]
cmp byte [edi + 1], 0
lea eax, [edi + 1]
cmovg edi, eax
mov al, byte [edi]
cmp al, 0x7f
jne 0x41b030
lea ecx, [esp + 0x38]
call fcn.004036b0
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00408f50
test edx, edx
jl 0x41b13f
jg 0x41b113
test eax, eax
je 0x41b13f
mov ecx, ebx
call fcn.00408f50
cmp eax, edi
jbe 0x41b13f
mov ecx, ebx
call fcn.00408f50
mov edi, eax
sub edi, dword [esp + 0x28]
jmp 0x41b141
lea ecx, [esp + 0x38]
call fcn.00404430
lea ecx, [esp + 0x38]
call fcn.00404450
xor edi, edi
mov ecx, ebx
call fcn.00407ce0
and eax, 0x1c0
cmp eax, 0x40
je 0x41b1d5
cmp eax, 0x100
je 0x41b190
mov ebx, dword [ebp + 8]
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x38]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041b770
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x18
lea ecx, [esp + 0x38]
mov dword [ebp + 0x14], eax
xor edi, edi
call fcn.004048c0
jmp 0x41b1e1
lea ecx, [esp + 0x38]
call fcn.004048c0
mov ebx, dword [ebp + 8]
push esi
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x3c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041b700
mov ecx, dword [eax]
push edi
push dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.0041b770
add esp, 0x30
xor edi, edi
jmp 0x41b1f7
lea ecx, [esp + 0x38]
call fcn.004048c0
mov ebx, dword [ebp + 8]
push esi
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x3c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041b700
add esp, 0x18
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x38]
mov dword [ebp + 0x14], eax
call fcn.004048c0
mov ecx, dword [esp + 0x28]
sub ecx, esi
push ecx
lea eax, [eax + esi*2]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x3c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.0041b700
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
add esp, 0x18
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
push 0
push 0
mov dword [ebp + 0x14], eax
call fcn.00408f70
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.0041b770
add esp, 0x18
lea ecx, [esp + 0x50]
call fcn.004033e0
lea ecx, [esp + 0x38]
call fcn.00403900
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret