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

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0xcc
mov dword [esp + 0x34], eax
movzx eax, byte [0x435865]
cmp al, 1
je 0x411829
cmp al, 2
jne 0x411832
lea edx, [esp + 0x98]
mov eax, edi
call fcn.00410cd0
lea eax, [esp + 0x94]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
mov eax, edi
add eax, 0x78
mov dword [esp], eax
call fcn.00404340
mov byte [esp + 0xbc], 1
mov dword [esp + 0x78], 0x435528
mov byte [esp + 0x69], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x2f], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x2e], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x3c], 0
call fcn.0041d8b0
test eax, eax
je 0x4114f8
mov ebx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
xor ebp, ebp
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x6b], 0
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0xa4]
mov byte [esp + 0x28], 0
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x70], ebx
mov ebx, dword [0x435828]
mov dword [esp + 0x30], ebx
movzx ebx, byte [esp + 0xbc]
mov byte [esp + 0x6a], bl
xor ebx, ebx
jmp 0x4112d6
cmp edx, dword [esp + 0x70]
jge 0x4114a4
mov ebx, dword [esp + 0x48]
sub ebx, dword [esp + 0x28]
movzx ecx, byte [esp + 0x2f]
mov ebp, ebx
sar ebp, 0x1f
xor ebx, ebp
sub ebx, ebp
movzx ebp, byte [esp + 0x6a]
cmp dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x4c]
cmovae ecx, ebp
mov ebp, dword [esp + 0x38]
cmovae ebp, dword [esp + 0x28]
cmovae ebx, edx
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x60]
cmovae ebp, esi
sub ebx, edi
mov dword [esp + 0x60], ebp
mov ebp, ebx
sar ebp, 0x1f
xor ebx, ebp
sub ebx, ebp
cmp ecx, ebx
jb 0x4114a4
movzx ebx, byte [esp + 0x6a]
mov ecx, dword [esp + 0x28]
mov ebp, 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x74], edx
mov byte [esp + 0x6b], 1
mov byte [esp + 0x28], 1
mov byte [esp + 0x69], bl
mov ebx, 1
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4114c7
cmp byte [eax + 0x25], 0
jne 0x4112cb
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x18]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 0x1c]
add esi, edx
add ecx, edi
cmp byte [esp + 0x68], 0
mov dword [esp + 0x28], ecx
je 0x411330
cmp esi, dword [esp + 0x3c]
mov byte [esp + 0x68], 1
jl 0x411330
cmp edi, dword [esp + 0x54]
jle 0x41130e
cmp edi, dword [esp + 0x48]
jg 0x411330
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jge 0x411327
mov ebx, dword [esp + 0x6c]
mov byte [esp + 0x68], 1
cmp ecx, ebx
jl 0x411330
cmp edx, dword [esp + 0x3c]
setge byte [esp + 0x68]
cmp byte [esp + 0x2e], 0
je 0x411370
cmp edx, dword [esp + 0x40]
mov byte [esp + 0x2e], 1
jg 0x411370
cmp edi, dword [esp + 0x50]
jle 0x41134e
cmp edi, dword [esp + 0x48]
jg 0x411370
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
cmp ebx, ecx
jge 0x411367
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x2e], 1
cmp ebx, ecx
jl 0x411370
cmp esi, dword [esp + 0x40]
setle byte [esp + 0x2e]
cmp byte [esp + 0x2f], 0
je 0x4113b0
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x28], ecx
mov byte [esp + 0x2f], 1
jl 0x4113b0
cmp edx, dword [esp + 0x4c]
jle 0x411392
cmp edx, dword [esp + 0x44]
jg 0x4113b0
cmp esi, dword [esp + 0x60]
jge 0x4113a3
cmp esi, dword [esp + 0x70]
mov byte [esp + 0x2f], 1
jl 0x4113b0
cmp edi, dword [esp + 0x38]
setge byte [esp + 0x2f]
lea esi, [esi]
cmp byte [esp + 0x69], 0
je 0x4113f0
cmp edi, dword [esp + 0x64]
mov byte [esp + 0x69], 1
jg 0x4113f0
cmp edx, dword [esp + 0x74]
jle 0x4113ce
cmp edx, dword [esp + 0x44]
jg 0x4113f0
cmp esi, dword [esp + 0x7c]
jge 0x4113df
cmp esi, dword [esp + 0x70]
mov byte [esp + 0x69], 1
jl 0x4113f0
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x28], ebx
setle byte [esp + 0x69]
lea esi, [esi]
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x28], ebx
jle 0x41149a
cmp edi, dword [esp + 0x6c]
jge 0x41149a
mov ebx, dword [esp + 0x44]
movzx ecx, byte [esp + 0x68]
sub ebx, esi
mov ebp, ebx
sar ebp, 0x1f
xor ebx, ebp
sub ebx, ebp
movzx ebp, byte [esp + 0x6a]
cmp ebx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
cmovbe ecx, ebp
mov ebp, dword [esp + 0x5c]
cmovbe ebp, dword [esp + 0x28]
cmovbe ebx, esi
mov byte [esp + 0x68], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x54]
cmovbe ebp, edi
sub ebx, edx
mov dword [esp + 0x54], ebp
mov ebp, ebx
sar ebp, 0x1f
xor ebx, ebp
sub ebx, ebp
movzx ebp, byte [esp + 0x2e]
cmp ecx, ebx
movzx ecx, byte [esp + 0x6a]
mov ebx, dword [esp + 0x40]
cmovae ebx, edx
cmovae ebp, ecx
mov dword [esp + 0x40], ebx
mov ecx, ebp
mov ebp, dword [esp + 0x58]
cmovae ebp, dword [esp + 0x28]
mov byte [esp + 0x2e], cl
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x50]
cmovae ebp, edi
mov dword [esp + 0x50], ebp
cmp esi, dword [esp + 0x44]
jg 0x411230
mov eax, dword [eax + 0x34]
mov ecx, dword [esp + 0x28]
mov ebp, 1
mov byte [esp + 0x6b], 1
mov byte [esp + 0x28], 1
mov ebx, 1
test eax, eax
jne 0x4112d6
test bl, bl
jne 0x4118b7
mov eax, ebp
test al, al
je 0x4114dc
mov dword [esp + 0xb8], ecx
cmp byte [esp + 0x28], 0
je 0x4114ea
mov dword [esp + 0xb4], edi
cmp byte [esp + 0x6b], 0
je 0x4114f8
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0x78]
mov ebp, dword [eax]
test ebp, ebp
jne 0x41170e
jmp 0x4117a0
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0xb0]
cmp byte [esp + 0x2e], 0
je 0x411580
cmp dword [esp + 0x40], edx
mov byte [esp + 0x2e], 1
jl 0x411580
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x50], esi
jge 0x41155d
cmp dword [esp + 0x30], esi
jl 0x411580
cmp dword [esp + 0x58], eax
jle 0x411571
cmp dword [esp + 0xa4], eax
mov byte [esp + 0x2e], 1
jg 0x411580
cmp dword [esp + 0x40], edi
setge byte [esp + 0x2e]
lea esi, [esi]
cmp byte [esp + 0x2f], 0
mov ebx, dword [esp + 0x98]
je 0x4115d0
cmp dword [esp + 0x38], eax
jg 0x411840
cmp dword [esp + 0x4c], edx
jge 0x4115a6
cmp ebx, edx
jl 0x411840
cmp dword [esp + 0x60], edi
jle 0x4115ba
cmp dword [esp + 0x9c], edi
mov byte [esp + 0x2f], 1
jg 0x4115d0
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x38], ecx
setle byte [esp + 0x2f]
mov esi, esi
lea edi, [edi]
cmp byte [esp + 0x69], 0
je 0x411610
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x64], ecx
mov byte [esp + 0x69], 1
jl 0x411610
cmp dword [esp + 0x74], edx
jge 0x4115f0
cmp edx, ebx
jg 0x411610
cmp dword [esp + 0x7c], edi
jle 0x411604
cmp dword [esp + 0x9c], edi
mov byte [esp + 0x69], 1
jg 0x411610
cmp dword [esp + 0x64], eax
setge byte [esp + 0x69]
lea esi, [esi]
cmp dword [esp + 0x30], eax
jge 0x411690
mov esi, dword [esp + 0x28]
cmp dword [esp + 0xa4], esi
jle 0x411690
mov esi, dword [0x435828]
mov ecx, ebx
sub ecx, edi
mov dword [esp + 0x44], esi
mov esi, ecx
sar esi, 0x1f
xor ecx, esi
sub ecx, esi
cmp ecx, dword [esp + 0x44]
ja 0x41165c
movzx ecx, byte [esp + 0xbc]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], esi
mov byte [esp + 0x68], cl
mov ecx, dword [esp + 0x9c]
sub ecx, edx
mov esi, ecx
sar esi, 0x1f
xor ecx, esi
sub ecx, esi
cmp dword [esp + 0x44], ecx
jb 0x411690
movzx ecx, byte [esp + 0xbc]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], esi
mov byte [esp + 0x2e], cl
cmp edi, ebx
jle 0x411700
cmp dword [esp + 0x9c], edx
jle 0x411700
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x435828]
sub ecx, eax
mov esi, ecx
sar esi, 0x1f
xor ecx, esi
sub ecx, esi
cmp ecx, ebx
ja 0x4116ce
movzx ecx, byte [esp + 0xbc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2f], cl
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x28]
sub eax, esi
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
cmp ebx, eax
jb 0x411700
movzx eax, byte [esp + 0xbc]
mov dword [esp + 0x64], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x74], edx
mov byte [esp + 0x69], al
mov ebp, dword [ebp + 0x94]
test ebp, ebp
je 0x4117a0
cmp dword [esp + 0x34], ebp
je 0x411700
test byte [ebp + 0x78], 0x24
jne 0x411700
lea edx, [esp + 0xac]
mov eax, ebp
call fcn.00410cd0
cmp byte [esp + 0x68], 0
je 0x411510
mov ecx, dword [esp + 0xb0]
cmp ecx, dword [esp + 0x3c]
jl 0x411850
mov ebx, dword [esp + 0xb4]
cmp ebx, dword [esp + 0x54]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
jle 0x411764
cmp ebx, eax
jg 0x411880
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0x5c]
jge 0x41177e
cmp eax, dword [esp + 0xa4]
jl 0x4118a0
mov edx, dword [esp + 0xac]
cmp edx, dword [esp + 0x3c]
mov edi, ecx
mov dword [esp + 0x28], ebx
setge byte [esp + 0x68]
jmp 0x41153b
add dword [esp + 0x78], 4
mov edi, 0x435538
mov eax, dword [esp + 0x78]
cmp edi, eax
jne 0x4111b2
cmp byte [esp + 0x2e], 0
je 0x4117d2
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
sub eax, dword [edi + 0x14]
sub eax, dword [esp + 0x94]
mov dword [edi + 0xc], eax
cmp byte [esp + 0x68], 0
je 0x4117eb
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x90]
mov edi, dword [esp + 0x34]
mov dword [edi + 0xc], eax
cmp byte [esp + 0x69], 0
je 0x411810
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x8c]
test byte [edi + 0x78], 0x40
mov dword [edi + 0x10], eax
jne 0x411810
sub eax, dword [edi + 0x18]
mov dword [edi + 0x10], eax
cmp byte [esp + 0x2f], 0
je 0x411829
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x88]
mov edi, dword [esp + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
call fcn.00410dc0
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [esp + 0x2f], 1
jmp 0x4115d0
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xb4]
mov edi, ecx
mov byte [esp + 0x68], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
jmp 0x41153b
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x28], ebx
mov edi, ecx
mov edx, dword [esp + 0xac]
mov byte [esp + 0x68], 1
jmp 0x41153b
mov dword [esp + 0x28], ebx
mov edi, ecx
mov edx, dword [esp + 0xac]
mov byte [esp + 0x68], 1
jmp 0x41153b
mov dword [esp + 0xac], edx
jmp 0x4114cf