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

Disassembly:
sub esp, 0x70
push ebp
mov ebp, ecx
lea eax, [ebp + 0x708]
mov ecx, 5
mov byte [eax], 0
add eax, 0x28
sub ecx, 1
jne 0x410dc1
xor eax, eax
push 0x34
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
call fcn.00429eb0
add esp, 0xc
cmp dword [ebp + 0x6f8], 0
jl 0x410e1c
cmp dword [ebp + 0x6fc], 0
jl 0x410e1c
mov eax, dword [ebp + 0x6f8]
inc dword [esp + eax*4 + 0x1c]
lea eax, [esp + eax*4 + 0x1c]
mov eax, dword [ebp + 0x6fc]
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
cmp dword [ebp + 0x720], 0
jl 0x410e4a
cmp dword [ebp + 0x724], 0
jl 0x410e4a
mov eax, dword [ebp + 0x720]
inc dword [esp + eax*4 + 0x1c]
lea eax, [esp + eax*4 + 0x1c]
mov eax, dword [ebp + 0x724]
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
cmp dword [ebp + 0x748], 0
jl 0x410e78
cmp dword [ebp + 0x74c], 0
jl 0x410e78
mov eax, dword [ebp + 0x748]
inc dword [esp + eax*4 + 0x1c]
lea eax, [esp + eax*4 + 0x1c]
mov eax, dword [ebp + 0x74c]
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
cmp dword [ebp + 0x770], 0
jl 0x410ea6
cmp dword [ebp + 0x774], 0
jl 0x410ea6
mov eax, dword [ebp + 0x770]
inc dword [esp + eax*4 + 0x1c]
lea eax, [esp + eax*4 + 0x1c]
mov eax, dword [ebp + 0x774]
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
cmp dword [ebp + 0x798], 0
jl 0x410ed4
cmp dword [ebp + 0x79c], 0
jl 0x410ed4
mov eax, dword [ebp + 0x798]
inc dword [esp + eax*4 + 0x1c]
lea eax, [esp + eax*4 + 0x1c]
mov eax, dword [ebp + 0x79c]
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
push esi
push edi
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0040c5b0
mov eax, dword [esp + 0x14]
dec eax
cmp eax, 0xf
ja case.default.0x410ef9
movzx edx, byte [eax + 0x411344]
jmp dword [edx*4 + 0x411330]
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x708]
mov ecx, 5
nop
cmp dword [eax - 0xc], edx
jne 0x410f18
mov byte [eax], 1
add eax, 0x28
sub ecx, 1
jne 0x410f10
jmp 0x4112f2
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea eax, [ebp + 0x6fc]
mov edx, 5
mov ecx, dword [eax]
cmp ecx, esi
je 0x410f42
cmp ecx, edi
jne 0x410f46
mov byte [eax + 0xc], 1
add eax, 0x28
sub edx, 1
jne 0x410f38
jmp 0x4112f2
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea eax, [ebp + 0x6fc]
mov edx, 5
mov ecx, dword [eax]
cmp ecx, esi
jge 0x410f70
cmp ecx, edi
jg 0x410f74
mov byte [eax + 0xc], 1
add eax, 0x28
sub edx, 1
jne 0x410f66
jmp 0x4112f2
mov byte [ebp + 0x708], 1
mov byte [ebp + 0x730], 1
mov byte [ebp + 0x758], 1
mov byte [ebp + 0x780], 1
mov byte [ebp + 0x7a8], 1
jmp 0x4112f2
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x708]
mov ecx, 5
cmp dword [eax - 0x10], edx
jne 0x410fc0
mov byte [eax], 1
add eax, 0x28
sub ecx, 1
jne 0x410fb8
jmp 0x4112f2
mov byte [esp + 0xe], 0
xor edx, edx
mov esi, 4
lea esp, [esp]
cmp dword [esp + edx*4 + 0x24], esi
jl 0x411006
mov byte [esp + 0xe], 1
lea eax, [ebp + 0x708]
mov ecx, 5
cmp dword [eax - 0x10], edx
jne 0x410ffe
mov byte [eax], 1
add eax, 0x28
sub ecx, 1
jne 0x410ff6
inc edx
cmp edx, esi
jl 0x410fe0
cmp byte [esp + 0xe], 0
jne 0x4112f2
xor eax, eax
mov esi, 1
cmp dword [esp + 0x78], esi
mov dword [esp + 0x10], eax
jl 0x411073
cmp dword [esp + 0x48], esi
jl 0x41102f
mov eax, esi
cmp dword [esp + 0x4c], esi
jl 0x411037
add eax, esi
cmp dword [esp + 0x50], esi
jl 0x41103f
add eax, esi
cmp dword [esp + 0x54], esi
jl 0x411047
add eax, esi
cmp eax, 3
jl 0x411073
lea eax, [ebp + 0x6fc]
mov edx, 5
mov ecx, dword [eax]
cmp ecx, 0xc
je 0x411063
cmp ecx, 3
jg 0x411067
mov byte [eax + 0xc], 1
add eax, 0x28
sub edx, esi
jne 0x411057
jmp 0x4112f2
push ebx
mov byte [esp + 0x13], 0
mov edi, 2
lea ebx, [esp + 0x50]
mov edx, 1
or eax, 0xffffffff
xor esi, esi
xor ecx, ecx
cmp dword [ebx - 4], edx
jl 0x41109a
lea eax, [edi - 2]
mov ecx, edx
mov esi, eax
cmp dword [ebx], edx
jl 0x4110ab
add ecx, edx
cmp eax, 0xffffffff
jne 0x4110a8
lea eax, [edi - 1]
lea esi, [edi - 1]
cmp dword [ebx + 4], edx
jl 0x4110bb
add ecx, edx
cmp eax, 0xffffffff
jne 0x4110b9
mov eax, edi
mov esi, edi
cmp dword [ebx + 8], edx
jl 0x4110cd
add ecx, edx
cmp eax, 0xffffffff
jne 0x4110ca
lea eax, [edi + 1]
lea esi, [edi + 1]
cmp dword [ebx + 0xc], edx
jl 0x4110df
add ecx, edx
cmp eax, 0xffffffff
jne 0x4110dc
lea eax, [edi + 2]
lea esi, [edi + 2]
cmp ecx, dword [esp + 0x14]
jge 0x411104
cmp ecx, 3
jne 0x41120b
cmp byte [esp + 0x13], 0
jne 0x41120b
cmp dword [esp + 0x14], 4
jge 0x41120b
cmp byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ecx
jne 0x41120b
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x6fc]
or edx, 0xffffffff
cmp ecx, eax
jl 0x41115d
cmp ecx, esi
jg 0x41115d
mov ecx, dword [ebp + 0x6f8]
inc dword [esp + ecx*4 + 0x38]
cmp dword [esp + ecx*4 + 0x38], 3
lea ecx, [esp + ecx*4 + 0x38]
jl 0x41115d
mov edx, dword [ebp + 0x6f8]
mov ecx, dword [ebp + 0x724]
cmp ecx, eax
jl 0x411186
cmp ecx, esi
jg 0x411186
mov ecx, dword [ebp + 0x720]
inc dword [esp + ecx*4 + 0x38]
cmp dword [esp + ecx*4 + 0x38], 3
lea ecx, [esp + ecx*4 + 0x38]
jl 0x411186
mov edx, dword [ebp + 0x720]
mov ecx, dword [ebp + 0x74c]
cmp ecx, eax
jl 0x4111af
cmp ecx, esi
jg 0x4111af
mov ecx, dword [ebp + 0x748]
inc dword [esp + ecx*4 + 0x38]
cmp dword [esp + ecx*4 + 0x38], 3
lea ecx, [esp + ecx*4 + 0x38]
jl 0x4111af
mov edx, dword [ebp + 0x748]
mov ecx, dword [ebp + 0x774]
cmp ecx, eax
jl 0x4111d8
cmp ecx, esi
jg 0x4111d8
mov ecx, dword [ebp + 0x770]
inc dword [esp + ecx*4 + 0x38]
cmp dword [esp + ecx*4 + 0x38], 3
lea ecx, [esp + ecx*4 + 0x38]
jl 0x4111d8
mov edx, dword [ebp + 0x770]
mov ecx, dword [ebp + 0x79c]
cmp ecx, eax
jl 0x411201
cmp ecx, esi
jg 0x411201
mov eax, dword [ebp + 0x798]
inc dword [esp + eax*4 + 0x38]
cmp dword [esp + eax*4 + 0x38], 3
lea eax, [esp + eax*4 + 0x38]
jl 0x411201
mov edx, dword [ebp + 0x798]
cmp edx, 0xffffffff
je 0x41120b
mov byte [esp + 0x13], 1
inc edi
lea eax, [edi - 2]
add ebx, 4
cmp eax, 8
jle 0x411082
cmp dword [esp + 0x14], 4
pop ebx
jl 0x411251
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea eax, [ebp + 0x6fc]
mov edx, 5
mov ecx, dword [eax]
cmp ecx, esi
jl 0x411244
cmp ecx, edi
jg 0x411244
mov byte [eax + 0xc], 1
add eax, 0x28
sub edx, 1
jne 0x411236
jmp 0x4112f2
xor edx, edx
cmp dword [esp + edx*4 + 0x24], 3
jl 0x411280
mov byte [esp + 0xe], 1
lea eax, [ebp + 0x708]
mov ecx, 5
lea ebx, [ebx]
cmp dword [eax - 0x10], edx
jne 0x411278
mov byte [eax], 1
add eax, 0x28
sub ecx, 1
jne 0x411270
inc edx
cmp edx, 4
jl 0x411253
cmp byte [esp + 0xe], 0
jne 0x4112f2
mov edx, dword [ebp + 0x6fc]
xor eax, eax
xor ecx, ecx
test edx, edx
jl 0x41129d
mov eax, edx
mov edx, dword [ebp + 0x724]
cmp edx, eax
jl 0x4112ae
mov eax, edx
mov ecx, 1
mov edx, dword [ebp + 0x74c]
cmp edx, eax
jl 0x4112bf
mov eax, edx
mov ecx, 2
mov edx, dword [ebp + 0x774]
cmp edx, eax
jl 0x4112d0
mov eax, edx
mov ecx, 3
mov edx, dword [ebp + 0x79c]
cmp edx, eax
jl 0x4112e1
mov eax, edx
mov ecx, 4
cmp eax, 9
jl 0x4112f2
lea ecx, [ecx + ecx*4 + 0xe1]
mov byte [ebp + ecx*8], 1
xor eax, eax
pop edi
pop esi
cmp byte [ebp + 0x708], al
je 0x411303
mov eax, 1
cmp byte [ebp + 0x730], 0
je 0x41130d
inc eax
cmp byte [ebp + 0x758], 0
je 0x411317
inc eax
cmp byte [ebp + 0x780], 0
je 0x411321
inc eax
cmp byte [ebp + 0x7a8], 0
pop ebp
je 0x41132c
inc eax
add esp, 0x70
ret