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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4c84a4]
push ebx
push esi
inc eax
mov esi, ecx
mov dword [esp + 0x18], esi
sbb byte [ebx + 0x4c84a4], ah
push edi
cmp eax, 0x30
jge 0x44fd14
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x22], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], bl
call fcn.00413df7
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xa8]
push 0x8000
push edi
call fcn.00413e47
test al, al
je 0x44fd2e
lea ecx, [esp + 0x98]
call fcn.00411207
lea ecx, [esp + 0x98]
call fcn.00420b8b
lea ecx, [esp + 0x88]
call fcn.00411207
lea edx, [esp + 0x88]
mov ecx, edi
call fcn.00420284
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0x44]
mov esi, dword [esp + 0xbc]
lea ecx, [esp + 0xa8]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x48], 0x18
push eax
call fcn.00413ea1
push ebx
push esi
push edi
lea ecx, [esp + 0xb4]
call fcn.0041410a
cmp dword [esp + 0x70], 0x21335541
je 0x44fd48
lea ecx, [esp + 0x50]
call fcn.00411207
lea ecx, [esp + 0x28]
call fcn.00411207
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x94]
call fcn.00420119
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call fcn.004117e0
push dword [esp + 0x50]
call dword [0x490208]
lea ecx, [esp + 0x28]
call fcn.00411cb6
lea ecx, [esp + 0x50]
call fcn.00411cb6
push 0x2000
call fcn.00420fe6
pop ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0041433f
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x22], 1
jne 0x412c19
push ecx
push esi
lea ecx, [esp + 0xb0]
call fcn.00413ebe
test al, al
je 0x412c19
mov eax, dword [esp + 0x14]
inc eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
call fcn.00412e8f
push esi
call fcn.00412dfe
push esi
test al, al
je 0x4500d0
call fcn.00412edc
push esi
mov byte [esp + 0x27], bl
call fcn.00422e2c
mov dword [esp + 0x3c], eax
pop ecx
cmp eax, 2
jle 0x412b8d
mov ax, word [esi + eax*2 - 4]
push 0x7f
pop ecx
and ax, cx
movzx eax, ax
push eax
call fcn.0042386d
pop ecx
test eax, eax
jne 0x412c81
cmp byte [esp + 0x24], 1
je 0x4500c3
push dword [esp + 0x88]
lea ecx, [esp + 0x7c]
call fcn.00411a36
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x80]
push eax
push esi
call fcn.004127fc
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], eax
call fcn.00411cb6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x412cac
invalid
cmp eax, 1
jle 0x412c9f
cmp eax, 3
jg 0x412c96
push dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, edi
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.0041314d
cmp byte [esp + 0x23], 1
sete byte [esp + 0x24]
cmp byte [esp + 0x13], 1
je 0x412b14
lea ecx, [esp + 0xa8]
call fcn.004142cf
add byte [eax], al
add al, ch
stosb byte es:[edi], al
push ss
add byte [eax], al
push dword [esp + 0x98]
call dword [0x490208]
mov word [eax + ebp*4], fs
add byte [eax], al
add al, ch
mov ch, 0x11
add byte [eax], al
mov eax, dword [esp + 0x38]
cmp word [esi + eax*2 - 2], 0x5f
jne 0x412b8d
invalid
jmp 0x4500b2
cmp eax, 4
jne 0x412c9f
mov byte [esp + 0x22], bl
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x412c04
mov byte [esp + 0x13], bl
jmp 0x412c9f
hlt
jne 0x44fd44
push 0x4baf88
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045ff75
xor bl, bl
jmp 0x412c89
das
cld
invalid
jne 0x44fd5e
mov ecx, esi
push 0x4bb010
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045ff75
jmp 0x412c7d
das
cld
inc dword [ecx + 0x4574247c]
inc ecx
xor byte [esi], dh
jne 0x412aba
lea ecx, [esp + 0xa8]
call fcn.004142e8
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push 2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push dword [eax]
mov byte [esp + 0x7c], bl
call fcn.004149db
test eax, eax
jne 0x44fdbc
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00469b2f
lea ecx, [esp + 0x60]
test eax, eax
je 0x44fdd8
call fcn.00414a48
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
push 0x4bb010
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0045ff75
jmp 0x412c65
call fcn.00414a48
mov eax, dword [esp + 0x14]
push 4
pop edx
push 0x10
mov edi, dword [eax]
or eax, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], edi
mov word [esp + 0x34], ax
mov dword [esp + 0x54], 0x490990
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00420fff
mov esi, eax
mov dword [esp + 0x44], esi
pop ecx
test esi, esi
je 0x44fe2d
mov dword [esi], 0x490990
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x44fe33
mov esi, ebx
mov dword [esp + 0x40], esi
or eax, 0xffffffff
mov dword [esp + 0x44], esi
push 5
lea ecx, [esp + 0x2c]
mov word [esp + 0x36], ax
call fcn.0041362c
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edi
push eax
mov ecx, esi
call fcn.00413458
xor eax, eax
mov dword [esp + 0x3c], ebx
inc eax
cmp edi, eax
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x1c]
jl 0x45004b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x28]
movzx eax, byte [eax]
push eax
mov dword [esp + 0x28], eax
call fcn.0041362c
lea ecx, [esp + 0x28]
call fcn.004679bd
test al, al
je 0x44feba
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
add edx, 4
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x44ffda
lea ecx, [esp + 0x28]
call fcn.004679a7
test al, al
je 0x44fee6
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, edx
add edx, 8
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jmp 0x44ffda
lea ecx, [esp + 0x28]
call fcn.00467991
test al, al
je 0x44ff0b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
add edx, 8
fld qword [eax]
fstp qword [esp + 0x28]
jmp 0x44ffda
lea ecx, [esp + 0x28]
call fcn.004136a4
test al, al
je 0x44ffde
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call fcn.0045ff11
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
push eax
cmp ecx, 0x31
jne 0x44ff65
lea ecx, [esp + 0xe4]
call fcn.00411a4f
mov ecx, dword [edi + 4]
push dword [esp + 0xe0]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.00411ccf
push 1
jmp 0x44ff89
cmp ecx, 0x30
jne 0x44ff9c
lea ecx, [esp + 0x7c]
call fcn.00411a4f
lea eax, [esp + 0x78]
push eax
call fcn.00412772
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00411ccf
push ebx
lea ecx, [esp + 0x2c]
call fcn.0041362c
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x40]
jmp 0x44ffcc
cmp ecx, 0x37
jne 0x44ffc3
mov ecx, edi
call fcn.0045fe32
test eax, eax
je 0x45009d
push dword [esp + 0x18]
call fcn.00421075
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x44fe75
lea ecx, [esp + 0x2c]
call fcn.00467953
push dword [esp + 0x18]
call fcn.00421075
mov edx, dword [esp + 0x20]
pop ecx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00413458
mov ecx, dword [esp + 0x18]
push 0x7f
pop edx
cmp dword [esp + 0x24], edx
jne 0x44fe75
mov ecx, dword [esi + 8]
cmp ecx, 2
jbe 0x450031
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4 - 8]
cmp word [eax + 8], dx
je 0x450031
inc dword [esp + 0x3c]
mov ecx, edi
push 0x3b
pop eax
mov word [esp + 0x24], ax
or eax, 0xffffffff
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x10]
call fcn.00413166
jmp 0x450038
mov ecx, esi
call fcn.00460478
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x38]
jle 0x44fe71
push 5
lea ecx, [esp + 0x2c]
call fcn.0041362c
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, dword [ecx]
call fcn.004678b3
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0x50]
call fcn.0046fc26
push dword [esp + 0x14]
call fcn.00422f9e
mov bl, 1
pop ecx
lea ecx, [esp + 0x50]
call fcn.0041355f
lea ecx, [esp + 0x28]
call fcn.004571f5
jmp 0x412c65
mov eax, dword [esp + 0x4c]
mov ecx, edi
push 0x490980
push 0x4bb068
push eax
push dword [ebp + 8]
call fcn.0045ff75
push dword [esp + 0x18]
call fcn.00421075
pop ecx
push dword [esp + 0x14]
call fcn.00422f9e
jmp 0x450085
mov edi, 0xff0000fe
je 0x4500dd
sbb al, ch
mov dh, 0xf
std
call [ecx - 1]
je 0x4500e7
adc al, 0xe8
aad 0x2e
std
invalid
and eax, dword [ecx]
mov word [esi + eax*2 - 2], cx
jmp 0x412ba6
mov ecx, edi
call fcn.0045fdcb
jmp 0x412c1d
cld
dec dword [ebx - 0x74e7dbbc]
iretd