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

Disassembly:
push 0xffffffffffffffff
push 0x4d33ab
mov eax, dword fs:[0]
push eax
mov eax, 0x20d0
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x20cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x20e4]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00467b90
xor ebx, ebx
mov dword [esp + 0x20ec], ebx
cmp byte [esi + 0xaf1c], bl
je 0x41297f
mov ecx, dword [esi + 0xaf20]
mov edx, dword [esi + 0xaf04]
xor eax, eax
add ecx, 8
adc eax, ebx
cmp edx, eax
jl 0x41297f
jg 0x41294f
mov eax, dword [esi + 0xaf00]
cmp eax, ecx
jbe 0x41297f
mov ecx, esi
mov byte [esp + 0x16], 1
call fcn.00410a80
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x10
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
cmp eax, 0x10
je 0x412985
mov ecx, esi
call fcn.00410820
jmp 0x413311
mov byte [esp + 0x16], bl
jmp 0x4129fa
mov ecx, dword [esi + 0x6488]
lea eax, [esp + 0xb8]
push eax
push ebx
push ecx
mov ecx, dword [esi + 0x5754]
lea edx, [esp + 0xb4]
push edx
lea eax, [esi + 0x648c]
push eax
add ecx, 0x5024
push ecx
push 5
lea edi, [esi + 0x1024]
push ebx
mov ecx, edi
call fcn.0042a650
cmp byte [esi + 0x6484], bl
je 0x4129f6
lea eax, [esi + 0x649c]
lea edx, [esp + 0xb8]
mov ecx, 8
sub edx, eax
lea ecx, [ecx]
mov ebp, dword [eax + edx]
cmp ebp, dword [eax]
jne 0x412b13
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x4129e0
mov dword [esp + 0x34], edi
push 7
lea ecx, [esp + 0x1c]
call fcn.00467830
cmp eax, 7
jb 0x412973
lea ecx, [esp + 0x18]
mov byte [esi + 0x641c], bl
call fcn.00467970
push 4
lea ecx, [esp + 0x1c]
mov dword [esi + 0x640c], eax
call fcn.00467ab0
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00467a40
mov ecx, eax
or ecx, edx
je 0x4132e7
cmp ebp, ebx
je 0x4132e7
lea ecx, [eax + ebp - 3]
cmp ecx, ebx
lea ebp, [eax + ebp + 4]
jl 0x412b78
cmp ebp, 7
jb 0x412b78
push ecx
lea ecx, [esp + 0x1c]
call fcn.00467830
cmp dword [esp + 0x2c], ebp
jb 0x412973
lea ecx, [esp + 0x18]
call fcn.00467b70
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00467a40
lea ecx, [esp + 0x18]
mov dword [esi + 0x6410], eax
call fcn.00467a40
mov edx, dword [esi + 0x6410]
mov dword [esi + 0x6414], eax
shr eax, 2
and al, 1
cmp dword [esi + 0x640c], edi
mov byte [esi + 0x641c], al
setne al
mov dword [esi + 0x6418], ebp
mov dword [esi + 0x5774], edx
mov byte [esp + 0x17], al
test al, al
je 0x412b38
mov ecx, esi
call fcn.004108a0
push 3
mov ecx, 0x51ff10
mov byte [esi + 0xaf24], 1
call fcn.00433d70
cmp byte [esp + 0x16], bl
je 0x412b38
lea edi, [esi + 0x1e]
push edi
push 0x1f8
call fcn.00475cc0
push eax
push edi
call fcn.004adf30
add esp, 0xc
mov byte [esi + 0xaf25], 1
jmp 0x413311
push 0x606
call fcn.00475cc0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004adf30
add esp, 8
mov byte [esi + 0xaf25], 1
push 0xb
jmp 0x413307
test byte [esi + 0x6414], 1
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
je 0x412b84
lea ecx, [esp + 0x18]
call fcn.00467a40
mov edi, dword [esi + 0x6418]
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
cmp edx, ecx
jb 0x412b84
ja 0x412b78
cmp eax, edi
jb 0x412b84
mov ecx, esi
call fcn.004108a0
jmp 0x413311
xor ebx, ebx
xor ebp, ebp
test byte [esi + 0x6414], 2
je 0x412b9e
lea ecx, [esp + 0x18]
call fcn.00467a40
mov ebx, eax
mov ebp, edx
mov eax, dword [esi + 0x6418]
push eax
mov ecx, esi
call fcn.0040bd90
xor ecx, ecx
add eax, dword [esi + 0xaf00]
adc ecx, dword [esi + 0xaf04]
add eax, ebx
adc ecx, ebp
mov dword [esi + 0xaf08], eax
mov eax, dword [esi + 0x6410]
mov dword [esi + 0xaf0c], ecx
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x412bdc
jmp dword [ecx*4 + 0x413350]
mov edx, dword [esi + 0x640c]
mov eax, dword [esi + 0x6410]
mov ecx, dword [esi + 0x6414]
mov dword [esi + 0x6470], edx
mov edx, dword [esi + 0x6418]
mov dword [esi + 0x6474], eax
mov eax, dword [esi + 0x641c]
mov dword [esi + 0x6478], ecx
mov dword [esi + 0x647c], edx
lea ecx, [esp + 0x18]
mov dword [esi + 0x6480], eax
call fcn.00467a40
test eax, eax
jbe 0x412c3c
lea ecx, [esi + 0x1e]
push ecx
mov ecx, esi
call fcn.004108d0
jmp 0x413311
lea ecx, [esp + 0x18]
call fcn.00467a40
and al, 1
lea ecx, [esp + 0x18]
mov byte [esi + 0x6484], al
call fcn.00467910
movzx eax, al
mov dword [esi + 0x6488], eax
cmp eax, 0x18
jbe 0x412c74
lea edx, [esi + 0x1e]
push edx
mov ecx, esi
call fcn.004108d0
jmp 0x413311
push 0x10
lea eax, [esi + 0x648c]
push eax
lea ecx, [esp + 0x20]
call fcn.00467ae0
cmp byte [esi + 0x6484], 0
je 0x412d44
push 8
lea ebx, [esi + 0x649c]
push ebx
lea ecx, [esp + 0x20]
call fcn.00467ae0
push 4
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x20]
call fcn.00467ae0
lea edx, [esp + 0x38]
push edx
call fcn.0047eb80
push 8
push ebx
lea eax, [esp + 0x40]
push eax
call fcn.0047f030
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0047f0e0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xc0]
cmp ecx, edx
je 0x412d2f
movzx eax, cl
movzx edi, dl
sub eax, edi
jne 0x412d33
movzx edx, dh
movzx eax, ch
sub eax, edx
jne 0x412d33
movzx ecx, byte [esp + 0xc2]
movzx eax, byte [esp + 0xaa]
sub eax, ecx
jne 0x412d33
movzx edx, byte [esp + 0xc3]
movzx eax, byte [esp + 0xab]
sub eax, edx
jne 0x412d33
xor eax, eax
jmp 0x412d39
sar eax, 0x1f
or eax, 1
test eax, eax
sete al
mov byte [esi + 0x6484], al
mov byte [esi + 0xaf1c], 1
jmp case.default.0x412bdc
lea edi, [esi + 0x6430]
mov ecx, edi
call fcn.00442bb0
mov ecx, dword [esi + 0x640c]
mov edx, dword [esi + 0x6410]
mov eax, dword [esi + 0x6414]
mov dword [edi], ecx
mov ecx, dword [esi + 0x6418]
mov dword [edi + 4], edx
mov edx, dword [esi + 0x641c]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x10], edx
call fcn.00467a40
mov edx, eax
shr edx, 2
and dl, 1
mov cl, al
and cl, 1
mov byte [esi + 0xaf15], cl
mov byte [esi + 0xaf14], dl
mov ecx, eax
mov edx, eax
shr ecx, 4
shr edx, 3
and cl, 1
and dl, 1
mov byte [esi + 0xaf17], cl
mov byte [esi + 0xaf1b], dl
mov byte [esi + 0xaf18], 0
mov byte [esi + 0xaf1a], 1
test al, 2
je 0x412dea
lea ecx, [esp + 0x18]
call fcn.00467a40
mov dword [esi + 0xaf38], eax
jmp 0x412df4
mov dword [esi + 0xaf38], 0
cmp byte [esi + 0xaf15], 0
je 0x412e0d
cmp dword [esi + 0xaf38], 0
jne 0x412e0d
mov eax, 1
jmp 0x412e0f
xor eax, eax
mov byte [esi + 0xaf19], al
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je 0x412e35
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411fe0
cmp byte [esi + 0x644e], 0
je case.default.0x412bdc
cmp dword [esi + 0x6454], 0
ja 0x412e58
cmp dword [esi + 0x6450], 0
jbe case.default.0x412bdc
mov eax, dword [esi + 0x5754]
cmp dword [eax + 0x2010], 0
je case.default.0x412bdc
mov ecx, dword [esi + 0xaf08]
mov edx, dword [esi + 0xaf0c]
mov eax, dword [esi + 0x5774]
mov ebx, dword [esi + 0xaf00]
mov ebp, dword [esi + 0xaf04]
push 0
mov dword [esp + 0xbc], ecx
lea edi, [esi + 0x5790]
push esi
mov ecx, edi
mov dword [esp + 0xc4], edx
mov dword [esp + 0xb0], eax
call fcn.004660c0
mov ecx, dword [esi + 0x6454]
mov edx, dword [esi + 0x6450]
push ecx
push edx
mov ecx, edi
call fcn.00466780
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xa8]
mov dword [esi + 0xaf00], ebx
mov dword [esi + 0xaf04], ebp
mov dword [esi + 0xaf08], eax
mov dword [esi + 0xaf0c], ecx
mov dword [esi + 0x5774], edx
jmp case.default.0x412bdc
lea edi, [esi + 0x64a8]
cmp eax, 2
je 0x412f0c
lea edi, [esi + 0x87e8]
push 0
mov ecx, edi
call fcn.00442c40
mov eax, dword [esi + 0x640c]
mov dword [edi], eax
mov ecx, dword [esi + 0x6410]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x6414]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x6418]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x641c]
mov dword [edi + 0x10], ecx
cmp dword [esi + 0x6410], 2
lea ecx, [esp + 0x18]
sete byte [esp + 0x16]
mov byte [edi + 0x10e9], 1
mov dword [edi + 0x1048], ebx
mov dword [edi + 0x104c], ebp
call fcn.00467a40
lea ecx, [esp + 0x18]
mov dword [edi + 0x1084], eax
call fcn.00467a40
mov dword [edi + 0x1050], eax
mov eax, dword [edi + 0x1084]
shr eax, 3
and al, 1
mov dword [edi + 0x1054], edx
mov byte [edi + 0x108a], al
je 0x412fa8
mov eax, 0x7fffffff
mov dword [edi + 0x1050], eax
mov dword [edi + 0x1054], eax
mov eax, dword [edi + 0x104c]
mov ecx, dword [edi + 0x1054]
cmp eax, ecx
mov edx, dword [edi + 0x1048]
mov ebx, dword [edi + 0x1050]
jl 0x412fca
jg 0x412fce
cmp edx, ebx
ja 0x412fce
mov edx, ebx
mov eax, ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x1058], edx
mov dword [edi + 0x105c], eax
call fcn.00467a40
test byte [edi + 0x1084], 2
mov dword [edi + 0x1c], eax
je 0x413006
lea ecx, [esp + 0x18]
call fcn.00467970
push 0
push eax
lea ecx, [edi + 0x1030]
call fcn.00482de0
xor ebx, ebx
test byte [edi + 0x1084], 4
mov dword [edi + 0x1060], ebx
je 0x413030
lea ecx, [esp + 0x18]
mov dword [edi + 0x1060], 2
call fcn.00467970
mov dword [edi + 0x1064], eax
lea ecx, [esp + 0x18]
mov dword [edi + 0x10f0], ebx
call fcn.00467a40
mov ebx, eax
mov edx, ebx
shr edx, 7
mov al, bl
and dl, 7
and al, 0x3f
lea ecx, [esp + 0x18]
mov byte [edi + 0x1a], dl
mov byte [edi + 0x19], al
call fcn.00467a40
lea ecx, [esp + 0x18]
mov byte [edi + 0x18], al
call fcn.00467a40
mov ecx, dword [esi + 0x6414]
shr ecx, 6
and cl, 1
mov byte [edi + 0x10e8], cl
mov cl, byte [edi + 0x18]
mov ebp, eax
mov dword [edi + 0x10ec], 2
cmp cl, 1
jne 0x41309a
mov dword [edi + 0x10ec], 1
jmp 0x4130a8
test cl, cl
jne 0x4130a8
mov dword [edi + 0x10ec], 0
mov ecx, dword [edi + 8]
mov edx, ecx
mov eax, ecx
shr edx, 3
shr eax, 4
shr ecx, 5
and dl, 1
and al, 1
and cl, 1
cmp byte [esp + 0x16], 0
mov byte [edi + 0x1088], dl
mov byte [edi + 0x1089], al
mov byte [edi + 0x10ea], cl
je 0x4130e5
test bl, 0x40
je 0x4130e5
mov ecx, 1
jmp 0x4130e7
xor ecx, ecx
mov byte [edi + 0x10e0], cl
mov cl, byte [edi + 0x1084]
and cl, 1
mov byte [edi + 0x10e1], cl
je 0x413102
xor edx, edx
jmp 0x413111
mov ecx, ebx
shr ecx, 0xa
and ecx, 0xf
mov edx, 0x20000
shl edx, cl
movzx ecx, byte [edi + 0x108b]
neg ecx
sbb ecx, ecx
and ecx, 5
mov dword [edi + 0x10e4], edx
mov dword [edi + 0x108c], ecx
mov ebx, ebp
cmp ebp, 0x1fff
jb 0x41313a
mov ebx, 0x1fff
push ebx
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x20]
call fcn.00467ae0
mov byte [esp + ebx + 0xe0], 0
push 0x7ff
lea ebx, [edi + 0x20]
push ebx
lea eax, [esp + 0xe8]
push eax
call fcn.004874e0
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je 0x41318a
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411fe0
cmp byte [esp + 0x16], 0
je 0x4131cf
push ebx
mov ecx, esi
call fcn.00410910
push edi
mov ecx, esi
call fcn.00410990
push edi
call fcn.0040c350
cmp byte [esp + 0x17], 0
je case.default.0x412bdc
push ebx
push 0x2ab
call fcn.00475cc0
push eax
lea eax, [esi + 0x1e]
push eax
call fcn.004adf30
add esp, 0xc
jmp case.default.0x412bdc
push 0x4d8a44
mov ecx, edi
call fcn.0040bee0
test al, al
je 0x4131e6
mov byte [esi + 0xaf16], 1
push 0x4d8a78
mov ecx, edi
call fcn.0040bee0
test al, al
je 0x4131a7
cmp dword [edi + 0x1024], 0
jbe 0x4131a7
mov eax, dword [edi + 0x1020]
movzx ecx, byte [eax]
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esi + 0x5760], ecx
call fcn.004707a0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
push eax
push ecx
push 0
push edx
call fcn.004c2390
mov dword [esi + 0x5758], eax
mov dword [esi + 0x575c], edx
jmp 0x4131a7
mov ecx, dword [esi + 0x640c]
mov edx, dword [esi + 0x6410]
mov eax, dword [esi + 0x6414]
mov dword [esi + 0x87a8], ecx
mov ecx, dword [esi + 0x6418]
mov dword [esi + 0x87ac], edx
mov edx, dword [esi + 0x641c]
mov dword [esi + 0x87b0], eax
mov dword [esi + 0x87b4], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x87b8], edx
call fcn.00467a40
and al, 1
mov byte [esi + 0x87c4], al
mov byte [esi + 0x87c7], 0
mov byte [esi + 0x87c5], 0
mov byte [esi + 0x87c6], 0
mov eax, dword [esi + 0xaf0c]
cmp eax, dword [esi + 0xaf04]
jg 0x4132cb
jl 0x412b78
mov ecx, dword [esi + 0xaf08]
cmp ecx, dword [esi + 0xaf00]
jbe 0x412b78
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20ec], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b50
mov eax, esi
jmp 0x413327
push 0x2ac
call fcn.00475cc0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004adf30
add esp, 8
mov byte [esi + 0xaf24], 1
push 3
mov ecx, 0x51ff10
call fcn.00433d70
mov dword [esp + 0x20ec], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b50
xor eax, eax
mov ecx, dword [esp + 0x20e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20cc]
xor ecx, esp
call fcn.004c1c22
add esp, 0x20dc
ret