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

Disassembly:
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push ebp
push 0x417
push edi
call esi
test byte [esp + 0x1c], 8
jne 0x412977
lea ecx, [esp + 0x70]
push ecx
push ebp
xor eax, eax
push 0x41d
push edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov bl, al
shr bl, 2
and bl, 1
cmp edx, dword [esp + 0x68]
jle 0x412977
test ah, 1
je 0x41280b
mov eax, dword [esp + 0x10]
push eax
call dword [0x42f348]
test eax, eax
jle 0x412977
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x800
push ecx
call dword [0x42f2d0]
jmp 0x412977
mov edx, dword [esp + 0x19c]
cmp byte [edx + 8], 0
push 0xc7
mov byte [esp + 0xd4], 0
push 0
je 0x412893
lea eax, [esp + 0xd9]
push eax
call fcn.004168c0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040b320
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push 1
push ebp
lea ecx, [esp + 0xdc]
push eax
mov dword [esp + 0x44], 0x14
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 0xc8
call dword [0x42f340]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
xor eax, eax
test bl, bl
sete al
push ecx
mov ecx, dword [esp + 0x14]
push edx
or eax, 0x10
push eax
push ecx
call dword [0x42f2d0]
jmp 0x412977
lea edx, [esp + 0xd9]
push edx
call fcn.004168c0
and byte [eax], al
add byte [ebx - 0x7cdbdbac], cl
les ecx, [ebx + esi]
ror byte [ebp + 0x5130244c], 0x52
and byte [eax], al
add byte [ebx - 0x7cdbdbac], cl
les ecx, [ebx + esi]
ror byte [ebp + 0x5130244c], 0x52
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea esi, [esp + 0xd8]
mov ah, 0x24
fadd dword [eax]
add byte [eax], al
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push 0x441
mov eax, esi
push edi
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x44], 2
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0xc8
call dword [0x42f398]
cmp eax, 0xffffffff
je 0x41290e
mov eax, esi
push eax
call dword [0x42f13c]
test eax, eax
jne 0x412958
mov edx, dword [esp + 0x18]
mov eax, dword [0x438fc4]
push 0xc8
lea ecx, [esp + 0xd4]
push ecx
push edx
push eax
mov esi, 0x43022a
call dword [0x42f39c]
xor ecx, ecx
test eax, eax
jle 0x412958
jmp 0x412940
cmp byte [esp + ecx + 0xd0], 0xa
je 0x412951
inc ecx
cmp ecx, eax
jl 0x412940
jmp 0x412958
lea esi, [esp + ecx + 0xd1]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor edx, edx
test bl, bl
sete dl
push esi
push ecx
push edx
push eax
call dword [0x42f2d0]
mov esi, dword [0x42f398]
inc ebp
cmp ebp, dword [esp + 0x28]
jl 0x412765
mov esi, dword [esp + 0x10]
push esi
call dword [0x42f348]
test eax, eax
jne 0x4129b3
test esi, esi
je 0x41299c
push esi
call dword [0x42f3a8]
push 0xffffffffffffffff
call dword [0x42f31c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x188
ret 4
mov ecx, dword [esp + 0x19c]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x188
ret 4