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

Disassembly:
push 0xffffffffffffffff
push 0x4d21e6
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x20bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x20d4]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00467290
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp byte [esi + 0xaf14], bl
je 0x4127b3
mov ecx, dword [esi + 0xaf18]
mov edx, dword [esi + 0xaefc]
xor eax, eax
add ecx, 8
adc eax, ebx
cmp edx, eax
jl 0x4127b3
jg 0x41276f
mov eax, dword [esi + 0xaef8]
cmp eax, ecx
jbe 0x4127b3
mov ecx, esi
mov byte [esp + 0x16], 1
call fcn.004108b0
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x10
lea eax, [esp + 0xb4]
push eax
mov ecx, esi
call edx
cmp eax, 0x10
je 0x4127b9
mov ecx, esi
call fcn.00410670
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040bde0
jmp 0x413097
mov byte [esp + 0x16], bl
jmp 0x41282b
mov ecx, dword [esi + 0x6480]
lea eax, [esp + 0xa8]
push eax
push ebx
push ecx
mov ecx, dword [esi + 0x5754]
lea edx, [esp + 0xbc]
push edx
lea eax, [esi + 0x6484]
push eax
add ecx, 0x5024
push ecx
push 5
lea edi, [esi + 0x1024]
push ebx
mov ecx, edi
call fcn.00429e70
cmp byte [esi + 0x647c], bl
je 0x412827
lea eax, [esi + 0x6494]
lea edx, [esp + 0xa8]
mov ecx, 8
sub edx, eax
mov ebp, dword [eax + edx]
cmp ebp, dword [eax]
jne 0x41293b
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x412811
mov dword [esp + 0x34], edi
push 7
lea ecx, [esp + 0x1c]
call fcn.00466f30
lea ecx, [esp + 0x18]
mov byte [esi + 0x6418], bl
call fcn.00467070
push 4
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6408], eax
call fcn.004671b0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00467140
mov ecx, eax
or ecx, edx
je 0x413074
cmp edi, ebx
je 0x413074
lea ecx, [eax + edi - 3]
cmp ecx, ebx
lea edi, [eax + edi + 4]
jl 0x413045
cmp edi, 7
jb 0x413045
push ecx
lea ecx, [esp + 0x1c]
call fcn.00466f30
cmp dword [esp + 0x2c], edi
jb 0x412793
lea ecx, [esp + 0x18]
call fcn.00467270
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00467140
lea ecx, [esp + 0x18]
mov dword [esi + 0x640c], eax
call fcn.00467140
mov edx, dword [esi + 0x640c]
mov dword [esi + 0x6410], eax
shr eax, 2
and al, 1
cmp dword [esi + 0x6408], ebp
mov byte [esi + 0x6418], al
setne al
mov dword [esi + 0x6414], edi
mov dword [esi + 0x5774], edx
mov byte [esp + 0x17], al
test al, al
je 0x41296a
mov ecx, esi
call fcn.004106d0
push 3
mov ecx, 0x51f7e8
mov byte [esi + 0xaf1c], 1
call fcn.00433620
cmp byte [esp + 0x16], bl
je 0x41296a
lea edi, [esi + 0x1e]
push edi
push 0x1f8
call fcn.004750b0
push eax
push edi
call fcn.004ace90
add esp, 0xc
mov byte [esi + 0xaf1d], 1
jmp 0x41279a
push 0x606
call fcn.004750b0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004ace90
add esp, 8
push 0xb
mov ecx, 0x51f7e8
mov byte [esi + 0xaf1d], 1
call fcn.00433620
jmp 0x41279a
test byte [esi + 0x6410], 1
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
je 0x4129b6
lea ecx, [esp + 0x18]
call fcn.00467140
mov edi, dword [esi + 0x6414]
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
cmp edx, ecx
jb 0x4129b6
ja 0x4129aa
cmp eax, edi
jb 0x4129b6
mov ecx, esi
call fcn.004106d0
jmp 0x41279a
xor ebx, ebx
xor ebp, ebp
test byte [esi + 0x6410], 2
je 0x4129d0
lea ecx, [esp + 0x18]
call fcn.00467140
mov ebx, eax
mov ebp, edx
mov eax, dword [esi + 0x6414]
push eax
mov ecx, esi
call fcn.0040bb40
xor ecx, ecx
add eax, dword [esi + 0xaef8]
adc ecx, dword [esi + 0xaefc]
add eax, ebx
adc ecx, ebp
mov dword [esi + 0xaf00], eax
mov eax, dword [esi + 0x640c]
mov dword [esi + 0xaf04], ecx
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x412a0e
jmp dword [ecx*4 + 0x4130c4]
mov edx, dword [esi + 0x6408]
mov eax, dword [esi + 0x640c]
mov ecx, dword [esi + 0x6410]
mov dword [esi + 0x6468], edx
mov edx, dword [esi + 0x6414]
mov dword [esi + 0x646c], eax
mov eax, dword [esi + 0x6418]
mov dword [esi + 0x6470], ecx
mov dword [esi + 0x6474], edx
lea ecx, [esp + 0x18]
mov dword [esi + 0x6478], eax
call fcn.00467140
test eax, eax
jbe 0x412a6e
lea ecx, [esi + 0x1e]
push ecx
mov ecx, esi
call fcn.00410700
jmp 0x41279a
lea ecx, [esp + 0x18]
call fcn.00467140
and al, 1
lea ecx, [esp + 0x18]
mov byte [esi + 0x647c], al
call fcn.00467010
movzx eax, al
mov dword [esi + 0x6480], eax
cmp eax, 0x18
jbe 0x412aa6
lea edx, [esi + 0x1e]
push edx
mov ecx, esi
call fcn.00410700
jmp 0x41279a
push 0x10
lea eax, [esi + 0x6484]
push eax
lea ecx, [esp + 0x20]
call fcn.004671e0
cmp byte [esi + 0x647c], 0
je 0x412b76
push 8
lea edi, [esi + 0x6494]
push edi
lea ecx, [esp + 0x20]
call fcn.004671e0
push 4
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x20]
call fcn.004671e0
lea edx, [esp + 0x38]
push edx
call fcn.0047df00
push 8
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0047e3b0
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0047e460
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
cmp ecx, edx
je 0x412b61
movzx eax, cl
movzx edi, dl
sub eax, edi
jne 0x412b65
movzx edx, dh
movzx eax, ch
sub eax, edx
jne 0x412b65
movzx ecx, byte [esp + 0xb2]
movzx eax, byte [esp + 0xaa]
sub eax, ecx
jne 0x412b65
movzx edx, byte [esp + 0xb3]
movzx eax, byte [esp + 0xab]
sub eax, edx
jne 0x412b65
xor eax, eax
jmp 0x412b6b
sar eax, 0x1f
or eax, 1
test eax, eax
sete al
mov byte [esi + 0x647c], al
mov byte [esi + 0xaf14], 1
jmp case.default.0x412a0e
lea edi, [esi + 0x6428]
mov ecx, edi
call fcn.004421b0
mov ecx, dword [esi + 0x6408]
mov edx, dword [esi + 0x640c]
mov eax, dword [esi + 0x6410]
mov dword [edi], ecx
mov ecx, dword [esi + 0x6414]
mov dword [edi + 4], edx
mov edx, dword [esi + 0x6418]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x10], edx
call fcn.00467140
mov edx, eax
shr edx, 2
and dl, 1
mov cl, al
and cl, 1
mov byte [esi + 0xaf0d], cl
mov byte [esi + 0xaf0c], dl
mov ecx, eax
mov edx, eax
shr ecx, 4
shr edx, 3
and cl, 1
and dl, 1
mov byte [esi + 0xaf0f], cl
mov byte [esi + 0xaf13], dl
mov byte [esi + 0xaf10], 0
mov byte [esi + 0xaf12], 1
test al, 2
je 0x412c1c
lea ecx, [esp + 0x18]
call fcn.00467140
mov dword [esi + 0xaf30], eax
jmp 0x412c26
mov dword [esi + 0xaf30], 0
cmp byte [esi + 0xaf0d], 0
je 0x412c3f
cmp dword [esi + 0xaf30], 0
jne 0x412c3f
mov eax, 1
jmp 0x412c41
xor eax, eax
mov byte [esi + 0xaf11], al
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je case.default.0x412a0e
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411e00
jmp case.default.0x412a0e
lea edi, [esi + 0x64a0]
cmp eax, 2
je 0x412c81
lea edi, [esi + 0x87e0]
push 0
mov ecx, edi
call fcn.00442240
mov eax, dword [esi + 0x6408]
mov dword [edi], eax
mov ecx, dword [esi + 0x640c]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x6410]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x6414]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x6418]
mov dword [edi + 0x10], ecx
cmp dword [esi + 0x640c], 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.00467140
lea ecx, [esp + 0x18]
mov dword [edi + 0x1084], eax
call fcn.00467140
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 0x412d1d
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 0x412d3f
jg 0x412d43
cmp edx, ebx
ja 0x412d43
mov edx, ebx
mov eax, ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x1058], edx
mov dword [edi + 0x105c], eax
call fcn.00467140
test byte [edi + 0x1084], 2
mov dword [edi + 0x1c], eax
je 0x412d7b
lea ecx, [esp + 0x18]
call fcn.00467070
push 0
push eax
lea ecx, [edi + 0x1030]
call fcn.004820f0
xor ebx, ebx
test byte [edi + 0x1084], 4
mov dword [edi + 0x1060], ebx
je 0x412da5
lea ecx, [esp + 0x18]
mov dword [edi + 0x1060], 2
call fcn.00467070
mov dword [edi + 0x1064], eax
lea ecx, [esp + 0x18]
mov dword [edi + 0x10f0], ebx
call fcn.00467140
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.00467140
lea ecx, [esp + 0x18]
mov byte [edi + 0x18], al
call fcn.00467140
mov ecx, dword [esi + 0x6410]
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 0x412e0f
mov dword [edi + 0x10ec], 1
jmp 0x412e1d
test cl, cl
jne 0x412e1d
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 0x412e5a
test bl, 0x40
je 0x412e5a
mov ecx, 1
jmp 0x412e5c
xor ecx, ecx
mov byte [edi + 0x10e0], cl
mov cl, byte [edi + 0x1084]
and cl, 1
mov byte [edi + 0x10e1], cl
je 0x412e77
xor edx, edx
jmp 0x412e86
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 0x412eaf
mov ebx, 0x1fff
push ebx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x20]
call fcn.004671e0
mov byte [esp + ebx + 0xd0], 0
push 0x7ff
lea ebx, [edi + 0x20]
push ebx
lea eax, [esp + 0xd8]
push eax
call fcn.004867f0
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je 0x412eff
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411e00
cmp byte [esp + 0x16], 0
je 0x412f44
push ebx
mov ecx, esi
call fcn.00410740
push edi
mov ecx, esi
call fcn.004107c0
push edi
call fcn.0040c190
cmp byte [esp + 0x17], 0
je case.default.0x412a0e
push ebx
push 0x2ab
call fcn.004750b0
push eax
lea eax, [esi + 0x1e]
push eax
call fcn.004ace90
add esp, 0xc
jmp case.default.0x412a0e
push 0x4d7a78
mov ecx, edi
call fcn.0040bd10
test al, al
je 0x412f1c
cmp dword [edi + 0x1024], 0
jbe 0x412f1c
mov eax, dword [edi + 0x1020]
movzx ecx, byte [eax]
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esi + 0x5760], ecx
call fcn.0046fc00
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.004c13d0
mov dword [esi + 0x5758], eax
mov dword [esi + 0x575c], edx
jmp 0x412f1c
mov ecx, dword [esi + 0x6408]
mov edx, dword [esi + 0x640c]
mov eax, dword [esi + 0x6410]
mov dword [esi + 0x87a0], ecx
mov ecx, dword [esi + 0x6414]
mov dword [esi + 0x87a4], edx
mov edx, dword [esi + 0x6418]
mov dword [esi + 0x87a8], eax
mov dword [esi + 0x87ac], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x87b0], edx
call fcn.00467140
and al, 1
mov byte [esi + 0x87bc], al
mov byte [esi + 0x87bf], 0
mov byte [esi + 0x87bd], 0
mov byte [esi + 0x87be], 0
mov eax, dword [esi + 0xaf04]
cmp eax, dword [esi + 0xaefc]
jg 0x413029
jl 0x4129aa
mov ecx, dword [esi + 0xaf00]
cmp ecx, dword [esi + 0xaef8]
jbe 0x4129aa
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040bde0
mov eax, esi
jmp 0x413099
push 0x2ac
call fcn.004750b0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004ace90
add esp, 8
push 3
mov ecx, 0x51f7e8
mov byte [esi + 0xaf1c], 1
call fcn.00433620
jmp 0x41279a
mov ecx, esi
call fcn.00410670
mov dword [esp + 0x20dc], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x413097
push eax
call fcn.004c1404
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x20d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20bc]
xor ecx, esp
call fcn.004c0c62
add esp, 0x20cc
ret