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

Disassembly:
push 0xffffffffffffffff
push 0x4890fc
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.004813f0
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0x2068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x2080]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push 0x4b7890
push 0x80000002
mov esi, ecx
call dword [section..rdata]
test eax, eax
jne 0x4121ac
push 0x1ffe
lea edx, [esp + 0x82]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x88], cx
call fcn.00474dd0
mov ebp, 7
xor eax, eax
add esp, 0xc
mov dword [esp + 0x1c], 0x2000
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0x2088], ebx
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411fb1
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.0040c9f0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
mov byte [esp + 0x2098], 1
mov edx, dword [esp + 0x28]
push 0x4b78f4
push edx
call dword [0x4a4028]
test eax, eax
jne 0x4121d6
mov eax, dword [esp + 0x1c]
shr eax, 1
xor ecx, ecx
push eax
lea eax, [esp + 0x80]
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
call fcn.0040c9f0
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x2090], 2
call fcn.0040c280
mov esi, 8
mov byte [esp + 0x2088], 1
cmp dword [esp + 0x78], esi
jb 0x41205b
mov edx, dword [esp + 0x64]
push edx
call fcn.00472191
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x412177
push 0x4b7384
xor edi, edi
lea ecx, [esp + 0x2c]
call fcn.0040dd10
test eax, eax
je 0x412177
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
xor ebp, ebp
test ecx, ecx
jbe 0x41216e
cmp ebp, eax
jbe 0x412099
call fcn.00473356
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x4120a7
lea eax, [esp + 0x2c]
cmp word [eax + ebp*2], 0
jne 0x41215e
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x3c]
jbe 0x4120c0
call fcn.00473356
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x4120ce
lea eax, [esp + 0x2c]
cmp word [eax + ebp*2 + 2], 0
jne 0x41215e
mov edi, ebx
lea edx, [esp + 0x28]
mov ecx, ebp
sub ecx, edi
push edx
mov edx, edi
lea esi, [esp + 0x64]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ecx
call fcn.0040b8f0
mov byte [esp + 0x2088], 3
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x41210f
lea eax, [esp + 0x48]
mov ebx, dword [esp + 0x58]
push eax
xor eax, eax
lea edx, [esp + 0x64]
call fcn.0040c330
cmp eax, 0xffffffff
je 0x41213c
mov eax, dword [esp + 0x24]
inc eax
mov ebx, edi
lea esi, [esp + 0x28]
call fcn.0040b860
lea ebp, [edi - 1]
dec edi
mov dword [esp + 0x14], edi
mov eax, 1
add dword [esp + 0x14], eax
lea esi, [esp + 0x60]
mov byte [esp + 0x2088], al
call fcn.0040b800
mov ebx, dword [esp + 0x14]
mov esi, 8
mov eax, dword [esp + 0x3c]
inc ebp
lea ecx, [eax - 1]
cmp ebp, ecx
jb 0x412090
mov ebp, 7
xor ebx, ebx
jmp 0x4121db
cmp dword [esp + 0x5c], esi
jb 0x41218a
mov edx, dword [esp + 0x48]
push edx
call fcn.00472191
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
cmp dword [esp + 0x40], esi
jb 0x4121ac
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00472191
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.0047219c
add esp, 0x2078
ret
mov esi, 8
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x4121e9
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x3c]
lea ecx, [edx + edx]
mov edx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push ebx
push 0x4b78f4
push eax
call dword [0x4a400c]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4a4004]
cmp dword [esp + 0x5c], esi
jb 0x412226
mov edx, dword [esp + 0x48]
push edx
call fcn.00472191
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
cmp dword [esp + 0x40], esi
jb 0x412248
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00472191
add esp, 4
mov eax, 1
jmp 0x4121ae