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

Disassembly:
push 0xffffffffffffffff
push 0x4d2b56
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x20bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb0b4]
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.004675a0
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp byte [esi + 0xaf14], bl
je 0x4129a3
mov ecx, dword [esi + 0xaf18]
mov edx, dword [esi + 0xaefc]
xor eax, eax
add ecx, 8
adc eax, ebx
cmp edx, eax
jl 0x4129a3
jg 0x41295f
mov eax, dword [esi + 0xaef8]
cmp eax, ecx
jbe 0x4129a3
mov ecx, esi
mov byte [esp + 0x16], 1
call fcn.00410aa0
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 0x4129a9
mov ecx, esi
call fcn.00410860
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b10
jmp 0x413287
mov byte [esp + 0x16], bl
jmp 0x412a1b
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.0042a1f0
cmp byte [esi + 0x647c], bl
je 0x412a17
lea eax, [esi + 0x6494]
lea edx, [esp + 0xa8]
mov ecx, 8
sub edx, eax
mov ebp, dword [eax + edx]
cmp ebp, dword [eax]
jne 0x412b2b
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x412a01
mov dword [esp + 0x34], edi
push 7
lea ecx, [esp + 0x1c]
call fcn.00467240
lea ecx, [esp + 0x18]
mov byte [esi + 0x6418], bl
call fcn.00467380
push 4
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6408], eax
call fcn.004674c0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00467450
mov ecx, eax
or ecx, edx
je 0x413264
cmp edi, ebx
je 0x413264
lea ecx, [eax + edi - 3]
cmp ecx, ebx
lea edi, [eax + edi + 4]
jl 0x413235
cmp edi, 7
jb 0x413235
push ecx
lea ecx, [esp + 0x1c]
call fcn.00467240
cmp dword [esp + 0x2c], edi
jb 0x412983
lea ecx, [esp + 0x18]
call fcn.00467580
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00467450
lea ecx, [esp + 0x18]
mov dword [esi + 0x640c], eax
call fcn.00467450
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 0x412b5a
mov ecx, esi
call fcn.004108c0
push 3
mov ecx, 0x51ef08
mov byte [esi + 0xaf1c], 1
call fcn.00433940
cmp byte [esp + 0x16], bl
je 0x412b5a
lea edi, [esi + 0x1e]
push edi
push 0x1f8
call fcn.00475570
push eax
push edi
call fcn.004ad680
add esp, 0xc
mov byte [esi + 0xaf1d], 1
jmp 0x41298a
push 0x606
call fcn.00475570
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004ad680
add esp, 8
push 0xb
mov ecx, 0x51ef08
mov byte [esi + 0xaf1d], 1
call fcn.00433940
jmp 0x41298a
test byte [esi + 0x6410], 1
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
je 0x412ba6
lea ecx, [esp + 0x18]
call fcn.00467450
mov edi, dword [esi + 0x6414]
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
cmp edx, ecx
jb 0x412ba6
ja 0x412b9a
cmp eax, edi
jb 0x412ba6
mov ecx, esi
call fcn.004108c0
jmp 0x41298a
xor ebx, ebx
xor ebp, ebp
test byte [esi + 0x6410], 2
je 0x412bc0
lea ecx, [esp + 0x18]
call fcn.00467450
mov ebx, eax
mov ebp, edx
mov eax, dword [esi + 0x6414]
push eax
mov ecx, esi
call fcn.0040bd20
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.0x412bfe
jmp dword [ecx*4 + 0x4132b4]
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.00467450
test eax, eax
jbe 0x412c5e
lea ecx, [esi + 0x1e]
push ecx
mov ecx, esi
call fcn.004108f0
jmp 0x41298a
lea ecx, [esp + 0x18]
call fcn.00467450
and al, 1
lea ecx, [esp + 0x18]
mov byte [esi + 0x647c], al
call fcn.00467320
movzx eax, al
mov dword [esi + 0x6480], eax
cmp eax, 0x18
jbe 0x412c96
lea edx, [esi + 0x1e]
push edx
mov ecx, esi
call fcn.004108f0
jmp 0x41298a
push 0x10
lea eax, [esi + 0x6484]
push eax
lea ecx, [esp + 0x20]
call fcn.004674f0
cmp byte [esi + 0x647c], 0
je 0x412d66
push 8
lea edi, [esi + 0x6494]
push edi
lea ecx, [esp + 0x20]
call fcn.004674f0
push 4
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x20]
call fcn.004674f0
lea edx, [esp + 0x38]
push edx
call fcn.0047e410
push 8
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0047e8c0
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0047e970
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
cmp ecx, edx
je 0x412d51
movzx eax, cl
movzx edi, dl
sub eax, edi
jne 0x412d55
movzx edx, dh
movzx eax, ch
sub eax, edx
jne 0x412d55
movzx ecx, byte [esp + 0xb2]
movzx eax, byte [esp + 0xaa]
sub eax, ecx
jne 0x412d55
movzx edx, byte [esp + 0xb3]
movzx eax, byte [esp + 0xab]
sub eax, edx
jne 0x412d55
xor eax, eax
jmp 0x412d5b
sar eax, 0x1f
or eax, 1
test eax, eax
sete al
mov byte [esi + 0x647c], al
mov byte [esi + 0xaf14], 1
jmp case.default.0x412bfe
lea edi, [esi + 0x6428]
mov ecx, edi
call fcn.00442520
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.00467450
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 0x412e0c
lea ecx, [esp + 0x18]
call fcn.00467450
mov dword [esi + 0xaf30], eax
jmp 0x412e16
mov dword [esi + 0xaf30], 0
cmp byte [esi + 0xaf0d], 0
je 0x412e2f
cmp dword [esi + 0xaf30], 0
jne 0x412e2f
mov eax, 1
jmp 0x412e31
xor eax, eax
mov byte [esi + 0xaf11], al
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je case.default.0x412bfe
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411ff0
jmp case.default.0x412bfe
lea edi, [esi + 0x64a0]
cmp eax, 2
je 0x412e71
lea edi, [esi + 0x87e0]
push 0
mov ecx, edi
call fcn.004425b0
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.00467450
lea ecx, [esp + 0x18]
mov dword [edi + 0x1084], eax
call fcn.00467450
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 0x412f0d
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 0x412f2f
jg 0x412f33
cmp edx, ebx
ja 0x412f33
mov edx, ebx
mov eax, ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x1058], edx
mov dword [edi + 0x105c], eax
call fcn.00467450
test byte [edi + 0x1084], 2
mov dword [edi + 0x1c], eax
je 0x412f6b
lea ecx, [esp + 0x18]
call fcn.00467380
push 0
push eax
lea ecx, [edi + 0x1030]
call fcn.00482720
xor ebx, ebx
test byte [edi + 0x1084], 4
mov dword [edi + 0x1060], ebx
je 0x412f95
lea ecx, [esp + 0x18]
mov dword [edi + 0x1060], 2
call fcn.00467380
mov dword [edi + 0x1064], eax
lea ecx, [esp + 0x18]
mov dword [edi + 0x10f0], ebx
call fcn.00467450
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.00467450
lea ecx, [esp + 0x18]
mov byte [edi + 0x18], al
call fcn.00467450
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 0x412fff
mov dword [edi + 0x10ec], 1
jmp 0x41300d
test cl, cl
jne 0x41300d
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 0x41304a
test bl, 0x40
je 0x41304a
mov ecx, 1
jmp 0x41304c
xor ecx, ecx
mov byte [edi + 0x10e0], cl
mov cl, byte [edi + 0x1084]
and cl, 1
mov byte [edi + 0x10e1], cl
je 0x413067
xor edx, edx
jmp 0x413076
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 0x41309f
mov ebx, 0x1fff
push ebx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x20]
call fcn.004674f0
mov byte [esp + ebx + 0xd0], 0
push 0x7ff
lea ebx, [edi + 0x20]
push ebx
lea eax, [esp + 0xd8]
push eax
call fcn.00486e20
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je 0x4130ef
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411ff0
cmp byte [esp + 0x16], 0
je 0x413134
push ebx
mov ecx, esi
call fcn.00410930
push edi
mov ecx, esi
call fcn.004109b0
push edi
call fcn.0040c340
cmp byte [esp + 0x17], 0
je case.default.0x412bfe
push ebx
push 0x2ab
call fcn.00475570
push eax
lea eax, [esi + 0x1e]
push eax
call fcn.004ad680
add esp, 0xc
jmp case.default.0x412bfe
push 0x4d7a78
mov ecx, edi
call fcn.0040bf10
test al, al
je 0x41310c
cmp dword [edi + 0x1024], 0
jbe 0x41310c
mov eax, dword [edi + 0x1020]
movzx ecx, byte [eax]
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esi + 0x5760], ecx
call fcn.004700b0
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.004c1a70
mov dword [esi + 0x5758], eax
mov dword [esi + 0x575c], edx
jmp 0x41310c
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.00467450
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 0x413219
jl 0x412b9a
mov ecx, dword [esi + 0xaf00]
cmp ecx, dword [esi + 0xaef8]
jbe 0x412b9a
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b10
mov eax, esi
jmp 0x413289
push 0x2ac
call fcn.00475570
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004ad680
add esp, 8
push 3
mov ecx, 0x51ef08
mov byte [esi + 0xaf1c], 1
call fcn.00433940
jmp 0x41298a
mov ecx, esi
call fcn.00410860
mov dword [esp + 0x20dc], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x413287
push eax
call fcn.004c1aa4
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.004c1302
add esp, 0x20cc
ret