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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442ead
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x456214]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x456214]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x24], eax
lea eax, [edi - 8]
mov dword [esp + 0x20], edi
call fcn.00411871
mov ebx, eax
xor eax, eax
cmp dword [ebp + 0xc], eax
mov byte [esp + 0x14], 0
je 0x411315
jle 0x4112e4
cmp dword [ebp + 0xc], 4
jle 0x41131a
lea esi, [ebx + 0x58]
call fcn.004276e9
and dword [ebx + 0x5c], 0
mov eax, 0x80004005
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004321f0
mov esp, ebp
pop ebp
ret 0xc
mov byte [esp + 0x14], 1
cmp dword [ebx + 0x5c], eax
je 0x411418
lea ecx, [ebx + 0x58]
call fcn.00412a72
test al, al
je 0x411418
mov cl, byte [edi + 0x4c]
test cl, cl
jne 0x411348
cmp byte [edi + 0x4e], cl
jne 0x411348
cmp byte [edi + 0x4d], cl
je 0x4113df
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x40], eax
mov al, byte [edi + 0x4e]
test al, al
je 0x41139c
cmp byte [ebx + 0x82], 0
je 0x41139c
lea esi, [esp + 0x24]
jmp 0x4113a8
neg al
lea edx, [esp + 0x3c]
sbb eax, eax
and eax, edx
mov esi, eax
cmp byte [edi + 0x4d], 0
je 0x4113bd
cmp byte [ebx + 0x81], 0
je 0x4113bd
lea edx, [esp + 0x2c]
jmp 0x4113bf
xor edx, edx
test cl, cl
je 0x4113d2
cmp byte [ebx + 0x80], 0
je 0x4113d2
lea ecx, [esp + 0x34]
jmp 0x4113d4
xor ecx, ecx
mov eax, dword [ebx + 0x5c]
push esi
push edx
push ecx
call fcn.0042b0b9
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esp + 0x14], 0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
jne 0x4113fc
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x5c]
call fcn.0042b095
test eax, eax
jne 0x4112f5
lea esi, [ebx + 0x58]
call fcn.004276e9
and dword [ebx + 0x5c], 0
mov ecx, dword [ebx + 0x50]
lea eax, [edi + 0xd8]
add dword [eax], ecx
mov ecx, dword [ebx + 0x54]
adc dword [eax + 4], ecx
cmp byte [ebx + 0x84], 0
lea eax, [edi + 0xc8]
jne 0x41143e
lea eax, [edi + 0xd0]
add dword [eax], 1
adc dword [eax + 4], 0
cmp byte [ebx + 0x48], 0
je 0x411464
cmp byte [ebx + 0x83], 0
je 0x411464
push dword [ebx + 0x7c]
lea eax, [ebx + 0x2c]
push dword [ebx + 0x78]
call fcn.0040b925
pop ecx
pop ecx
and dword [esp + 0x18], 0
lea esi, [edi + 0x14]
mov ecx, esi
call fcn.00412a72
test al, al
je 0x4114a1
mov eax, esi
call fcn.0041415a
push dword [esp + 0x20]
movzx ecx, byte [ebx + 0x49]
mov edx, dword [eax]
push ecx
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call dword [edx + 0x28]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4114a1
jmp 0x4112f5
cmp byte [esp + 0x14], 0
jne 0x4114d7
cmp byte [edi + 0x2c], 0
jne 0x4114d7
lea esi, [ebx + 0x2c]
push esi
call fcn.0040d0fe
test al, al
pop ecx
je 0x4114d7
push esi
call fcn.0040b944
test al, al
pop ecx
jne 0x4114d7
push esi
add edi, 0x110
call fcn.00411ef1
mov edi, dword [esp + 0x1c]
lea eax, [ebx + 0x2c]
lea esi, [esp + 0x44]
call fcn.00403f4c
mov ecx, dword [ebp + 8]
and dword [esp + 0x70], 0
lea eax, [edi - 8]
call fcn.004118d9
add edi, 0x18
mov ecx, edi
call fcn.00412a72
test al, al
je 0x41153f
mov eax, edi
call fcn.0041415a
push dword [esp + 0x14]
mov edi, eax
sub esp, 0x1c
mov eax, esi
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.00403f4c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x41153f
mov edi, eax
push 0
push 1
lea esi, [esp + 0x4c]
call fcn.004012b5
mov eax, edi
jmp 0x4112f5
mov edi, dword [esp + 0x18]
jmp 0x41152b