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

Disassembly:
push 0xffffffffffffffff
push 0x5c45f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov eax, 7
xor esi, esi
xor ecx, ecx
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], esi
mov word [esp + 0x30], cx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], eax
mov ax, word [esp + 0x74]
xor edx, edx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], dx
mov word [esp + 0x14], ax
mov dword [esp + 0x24], 1
mov word [esp + 0x16], cx
mov byte [esp + 0x6c], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, edx
cmp ecx, 8
jae 0x411294
lea eax, [esp + 0x14]
mov ebx, dword [esp + 0x24]
lea edi, [eax + ebx*2]
cmp edi, esi
je 0x4112c0
mov eax, edx
cmp ecx, 8
jae 0x4112aa
lea eax, [esp + 0x14]
cmp eax, edi
ja 0x4112c0
mov eax, edx
cmp ecx, 8
jae 0x4112b9
lea eax, [esp + 0x14]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x4112d1
call fcn.0051d2bd
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea ebp, [esp + 0x10]
cmp ecx, 8
jb 0x4114c5
mov esi, edx
test edx, edx
je 0x411305
mov eax, edx
cmp ecx, 8
jae 0x4112ef
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x411305
mov eax, edx
cmp ecx, 8
jae 0x4112fe
lea eax, [esp + 0x14]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x41130a
call fcn.0051d2bd
mov ecx, dword [esp + 0x7c]
push edi
push ebp
push esi
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x58]
push edx
call fcn.00410bf0
mov byte [esp + 0x6c], 2
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040e340
mov byte [esp + 0x6c], 1
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x411351
mov eax, dword [esp + 0x4c]
push eax
call fcn.004d9334
add esp, 4
mov ebx, dword [esp + 0x78]
xor ecx, ecx
mov ebp, 7
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
cmp ebx, edi
je 0x411522
cmp dword [ebx + 8], edi
mov dword [esp + 0x78], edi
jle 0x41150d
mov edi, edi
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x78]
push edx
lea edx, [eax + ecx*2]
push edx
lea ecx, [esp + 0x34]
call fcn.0040e600
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov eax, edx
cmp ecx, 8
jae 0x4113aa
lea eax, [esp + 0x30]
mov ebp, dword [esp + 0x40]
lea edi, [eax + ebp*2]
test edi, edi
je 0x4113d6
mov eax, edx
cmp ecx, 8
jae 0x4113c0
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x4113d6
mov eax, edx
cmp ecx, 8
jae 0x4113cf
lea eax, [esp + 0x30]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x4113e7
call fcn.0051d2bd
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
cmp ecx, 8
jb 0x4114ce
mov esi, edx
test edx, edx
je 0x411417
mov eax, edx
cmp ecx, 8
jae 0x411401
lea eax, [esp + 0x30]
cmp eax, esi
ja 0x411417
mov eax, edx
cmp ecx, 8
jae 0x411410
lea eax, [esp + 0x30]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x41141c
call fcn.0051d2bd
mov ecx, dword [esp + 0x7c]
push edi
lea eax, [esp + 0x30]
push eax
push esi
push eax
lea edx, [esp + 0x58]
push edx
call fcn.00410bf0
mov byte [esp + 0x6c], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040e340
mov byte [esp + 0x6c], 1
mov ebp, 8
cmp dword [esp + 0x60], ebp
jb 0x411462
mov eax, dword [esp + 0x4c]
push eax
call fcn.004d9334
add esp, 4
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
cmp dword [esp + 0x28], ebp
jae 0x411487
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov edx, esi
cmp esi, edi
jb 0x411497
mov edx, edi
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x4114a5
lea ecx, [esp + 0x30]
test edx, edx
jbe 0x4114e7
lea esp, [esp]
mov bp, word [ecx]
cmp bp, word [eax]
jne 0x4114d7
add ecx, 2
add eax, 2
sub edx, 1
jne 0x4114b0
jmp 0x4114e7
lea esi, [esp + 0x14]
jmp 0x4112e4
lea esi, [esp + 0x30]
jmp 0x4113f6
mov dx, bp
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x4114f2
cmp esi, edi
jb 0x4114fa
xor eax, eax
cmp esi, edi
setne al
test eax, eax
je 0x411588
mov eax, dword [esp + 0x78]
add eax, dword [ebx]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x78], eax
jl 0x411380
mov ebx, dword [ebx + 0x10]
xor edi, edi
cmp ebx, edi
jne 0x411371
mov esi, 8
lea ebp, [edi + 7]
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x28], esi
jb 0x41153a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004d9334
add esp, 4
xor edx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], dx
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x44], esi
jb 0x411564
mov eax, dword [esp + 0x30]
push eax
call fcn.004d9334
add esp, 4
mov dword [esp + 0x40], edi
pop edi
pop esi
mov dword [esp + 0x3c], ebp
xor ecx, ecx
pop ebp
mov word [esp + 0x24], cx
xor al, al
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov byte [esp + 0x6c], 0
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x4115a5
mov eax, dword [esp + 0x14]
push eax
call fcn.004d9334
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x4115d8
mov edx, dword [esp + 0x30]
push edx
call fcn.004d9334
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
mov dword [esp + 0x40], esi
pop esi
xor eax, eax
mov word [esp + 0x28], ax
pop ebp
mov dword [esp + 0x34], 0
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret