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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
push edi
mov edi, dword [ecx]
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edi
call fcn.00422774
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x410ddd
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x24]
call fcn.0042279c
lea edx, [esp + 0x20]
push edx
call fcn.00412da0
add esp, 4
mov ebp, eax
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebp
call fcn.00422774
mov eax, dword [edi + 4]
test eax, eax
jbe 0x410e14
cmp eax, 0xffffffff
jae 0x410e14
dec eax
mov dword [edi + 4], eax
mov ebx, dword [edi + 4]
neg ebx
sbb ebx, ebx
not ebx
lea ecx, [esp + 0x20]
and ebx, edi
call fcn.0042279c
xor edi, edi
cmp ebx, edi
je 0x410e38
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov byte [esp + 0x17], al
mov al, byte [esi]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
cmp al, 0x2b
je 0x410e74
mov dword [esp + 0x20], edi
cmp al, 0x2d
jne 0x410e7c
mov dword [esp + 0x20], 1
call fcn.004246ed
mov eax, dword [eax]
mov ebp, dword [esp + 0x8c]
mov cl, byte [eax]
push ebp
push 0x65
push esi
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.00424640
movsx edx, byte [esp + 0x24]
add esp, 0xc
push ebp
push edx
mov edi, eax
push esi
mov dword [esp + 0x28], edi
call fcn.00424640
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x410ecd
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, edx
cmp ecx, 0x10
jae 0x410ee0
lea eax, [esp + 0x58]
cmp byte [eax], 0x7f
je 0x41103c
mov eax, edx
cmp ecx, 0x10
jae 0x410ef4
lea eax, [esp + 0x58]
cmp byte [eax], 0
jle 0x41103c
push ebp
push esi
lea eax, [esp + 0x40]
call fcn.00401e40
test edi, edi
jne 0x410f27
mov eax, dword [esp + 0x88]
push 0x30
lea edi, [esp + 0x3c]
call fcn.00406010
mov ebx, dword [esp + 0x80]
jmp 0x410f61
test ebx, ebx
jne 0x410f43
mov eax, dword [esp + 0x80]
push 0x30
lea edi, [esp + 0x3c]
call fcn.00406010
mov edi, dword [esp + 0x1c]
jmp 0x410f4a
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
push 0x30
push eax
mov eax, edi
sub eax, esi
lea edi, [esp + 0x40]
call fcn.00412910
mov ebp, dword [esp + 0x28]
push 0x30
lea edi, [esp + 0x3c]
test ebp, ebp
jne 0x410f78
mov eax, ebx
call fcn.00406010
jmp 0x410fa3
mov ecx, dword [esp + 0x88]
sub ebp, esi
push ecx
lea eax, [ebp + 1]
call fcn.00412910
push 0x30
push ebx
mov eax, ebp
lea edi, [esp + 0x40]
call fcn.00412910
mov dword [esp + 0x84], 0
mov ebp, dword [esp + 0x58]
mov ebx, 0x10
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], ebx
jae 0x410fc1
lea ebp, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jae 0x410fcf
lea eax, [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00424720
mov esi, eax
mov al, byte [ebp]
add esp, 8
cmp al, 0x7f
je 0x411016
test al, al
jle 0x411016
mov ecx, esi
sub ecx, dword [esp + 0x20]
movsx eax, al
cmp eax, ecx
jae 0x411016
sub esi, eax
push 0
push 1
mov eax, esi
lea edi, [esp + 0x40]
call fcn.00412910
cmp byte [ebp + 1], 0
jle 0x41100f
inc ebp
mov al, byte [ebp]
cmp al, 0x7f
jne 0x410fe6
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jae 0x411024
lea esi, [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], edx
mov ebp, edx
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
add eax, ecx
add eax, dword [esp + 0x88]
mov ecx, dword [edx + 0x18]
add eax, ebp
test ecx, ecx
jle 0x41106e
cmp ecx, eax
jbe 0x41106e
sub ecx, eax
mov edi, ecx
mov dword [esp + 0x1c], edi
jmp 0x41107a
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x411147
cmp eax, 0x100
je 0x4110c6
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov bl, byte [esp + 0x7c]
push edx
push eax
mov eax, edi
lea edi, [esp + 0x30]
call fcn.00411760
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], edx
jmp 0x41113c
cmp dword [esp + 0x20], 0
jbe 0x41110a
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push 1
push eax
push ecx
lea edx, [esp + 0x34]
push edx
mov eax, esi
call fcn.004116f0
mov ecx, dword [eax]
add esp, 0x10
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
inc esi
dec ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov bl, byte [esp + 0x7c]
push eax
mov eax, edi
push ecx
lea edi, [esp + 0x30]
call fcn.00411760
mov edx, dword [eax]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x24], 0
add esp, 8
movsx ecx, byte [esp + 0x18]
push ebp
push ecx
push esi
call fcn.00424640
add esp, 0xc
test eax, eax
je 0x411249
mov edx, dword [esp + 0x94]
sub eax, esi
inc eax
push edx
mov ebp, eax
mov eax, dword [esp + 0x94]
push eax
mov al, byte [esp + 0x1f]
lea ecx, [ebp - 1]
push ecx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.00412a10
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x94]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x30]
call fcn.00411760
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esp, 8
call edx
mov ecx, dword [esp + 0x90]
mov bl, al
mov eax, dword [esp + 0x94]
push eax
push ecx
mov eax, 1
lea edi, [esp + 0x38]
call fcn.00411760
mov edx, dword [eax]
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0x94]
mov bl, 0x30
lea edi, [esp + 0x40]
call fcn.00411760
mov ecx, dword [eax]
add esi, ebp
add esp, 0x10
sub dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], edx
push ebp
push 0x65
push esi
call fcn.00424640
add esp, 0xc
test eax, eax
je 0x411327
mov ecx, dword [esp + 0x90]
sub eax, esi
inc eax
mov ebp, eax
mov eax, dword [esp + 0x94]
push eax
push ecx
lea edx, [ebp - 1]
push edx
lea eax, [esp + 0x3c]
push esi
push eax
mov al, byte [esp + 0x2b]
call fcn.00412a10
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x9c]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x38]
call fcn.00411760
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [eax + 4]
add esp, 8
test byte [ecx + 0x10], 4
mov dword [esp + 0x94], edx
mov dword [esp + 0x88], 0
mov ecx, 0x43bcec
jne 0x4112ec
mov ecx, 0x43bcf0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push edx
push eax
lea edx, [esp + 0x3c]
push edx
mov eax, ecx
call fcn.004116f0
mov ecx, dword [eax]
add esi, ebp
add esp, 0x10
sub dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push eax
mov al, byte [esp + 0x1b]
push ecx
push ebp
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.00412a10
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x9c]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x38]
call fcn.00411760
mov ecx, dword [eax]
mov edx, dword [esp + 0x80]
mov bl, byte [esp + 0x84]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
push ecx
mov dword [edx + 0x18], 0
call fcn.00411760
mov esi, 0x10
add esp, 0x10
cmp dword [esp + 0x50], esi
jb 0x4113c8
mov eax, dword [esp + 0x3c]
push eax
call fcn.00423279
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
cmp dword [esp + 0x6c], esi
jb 0x4113ed
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00423279
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret