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

Disassembly:
push 0xffffffffffffffff
push 0x44356b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x270]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0xc], ebp
jne 0x412cf8
xor al, al
jmp 0x413164
mov ebx, dword [esp + 0x274]
cmp ebx, ebp
je 0x413162
mov eax, dword [esp + 0x278]
cmp eax, ebp
je 0x413162
test al, 1
je 0x412d22
dec eax
mov dword [esp + 0x278], eax
cmp eax, ebp
jne 0x412d2d
xor al, al
jmp 0x413164
push edi
call fcn.0042b070
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b], al
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 1
call fcn.0040f7a0
mov ecx, dword [esp + 0x27c]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x26c], ebp
mov dword [esp + 0x14], eax
jbe 0x413147
mov edi, dword [esp + 0x280]
jmp 0x412d75
mov ebx, dword [esp + 0x278]
mov cl, byte [esi + 0x7d]
test cl, cl
je 0x412e13
mov edx, dword [esp + 0x27c]
lea ecx, [eax + 3]
cmp edx, ecx
jb 0x412e13
cmp byte [eax + ebx], 0xfd
jne 0x412e13
cmp byte [eax + ebx + 1], 0xef
jne 0x412e13
add eax, 2
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, byte [eax + ebx]
mov ebx, edx
cmp ebx, 6
jae 0x413129
mov edx, dword [esp + 0x27c]
inc eax
mov dword [esp + 0x14], eax
lea ecx, [ebx + eax]
cmp edx, ecx
mov dword [esp + 0x1c], ecx
jb 0x413129
test ebp, ebp
je 0x412df2
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, edi
call fcn.00410270
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x278]
push ebx
add eax, ecx
mov ecx, edi
push eax
call fcn.00410270
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, edx
jmp 0x413129
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x412e66
mov cl, byte [eax + ebx + 1]
test cl, cl
jne 0x412e66
mov cl, byte [eax + ebx]
cmp cl, 0x80
jae 0x412e66
mov byte [esp + ebp + 0x60], cl
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x412e59
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, edi
call fcn.00410270
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], 1
jmp 0x413122
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x278]
add ebx, eax
push edx
push 2
push ebx
call fcn.0042b5a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4130f0
cmp byte [ebx], 0
jne 0x412ed9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x278]
mov dl, byte [eax + ecx + 1]
test dl, dl
jne 0x412ed9
mov byte [esp + ebp + 0x60], 0
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x41311e
lea edx, [esp + 0x60]
push ebp
push edx
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
jmp 0x41311e
mov eax, dword [esi + 4]
test eax, eax
je 0x4130e9
mov cl, byte [esi + 0x7d]
test cl, cl
je 0x4130bb
cmp eax, 1
jne 0x412f35
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4130e9
test ebp, ebp
je 0x412f1c
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.00410270
mov byte [esp + 0x1a], 0
jmp 0x41311e
cmp eax, 7
jne 0x412fa3
test ebp, ebp
je 0x412f53
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x284]
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
push eax
push edi
push 2
push ebx
mov dword [esp + 0x2c], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esi + 4], 0
call fcn.00414f10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x74], ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 0x78], edx
mov byte [esp + 0x1a], 0
jmp 0x41311e
cmp eax, 2
jne 0x413086
lea ecx, [esp + 0x38]
call fcn.0040f2a0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x284]
mov ebp, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
push edx
push eax
push 2
push ebx
mov dword [esp + 0x38], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], ebp
mov dword [esi + 4], 0
call fcn.00414f10
lea ecx, [esp + 0x38]
call fcn.0040f2c0
test eax, eax
je 0x413067
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x413016
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x38]
call fcn.0040f2c0
push 0x26
mov ecx, edi
mov ebx, eax
call fcn.0040ffc0
push 0x23
mov ecx, edi
call fcn.0040ffc0
push 0x78
mov ecx, edi
call fcn.0040ffc0
test ebx, ebx
jle 0x41305a
push edi
push 1
push ebp
lea ecx, [esp + 0x44]
call fcn.0040f2e0
push eax
mov ecx, esi
call fcn.00412620
inc ebp
cmp ebp, ebx
jl 0x413040
push 0x3b
mov ecx, edi
call fcn.0040ffc0
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x74], ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 4], edx
mov dword [esi + 0x78], eax
mov byte [esp + 0x1a], 0
jmp 0x41311e
test ebp, ebp
je 0x4130a3
lea ecx, [esp + 0x60]
push ebp
push ecx
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x284]
mov ecx, esi
push edx
push edi
push ebx
call fcn.00412690
mov byte [esp + 0x1a], 0
jmp 0x41311e
test ebp, ebp
je 0x4130d8
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x284]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.00412690
mov byte [esp + 0x1a], 0
jmp 0x41311e
test ebp, ebp
je 0x41310d
lea edx, [esp + 0x60]
push ebp
push edx
mov ecx, edi
call fcn.00410270
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00410270
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x27c]
jb 0x412d6e
test ebp, ebp
je 0x413147
lea edx, [esp + 0x60]
push ebp
push edx
mov ecx, edi
call fcn.00410270
lea ecx, [esp + 0x38]
mov dword [esp + 0x26c], 0xffffffff
call fcn.0040fc50
mov al, byte [esp + 0x1a]
pop edi
jmp 0x413164
mov al, 1
mov ecx, dword [esp + 0x260]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 0x14