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

Disassembly:
push 0xffffffffffffffff
push 0x4d1236
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x20bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
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.004668c0
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp byte [esi + 0xa9c4], bl
je 0x4123b3
mov ecx, dword [esi + 0xa9c8]
mov edx, dword [esi + 0xa9ac]
xor eax, eax
add ecx, 8
adc eax, ebx
cmp edx, eax
jl 0x4123b3
jg 0x41236f
mov eax, dword [esi + 0xa9a8]
cmp eax, ecx
jbe 0x4123b3
mov ecx, esi
mov byte [esp + 0x16], 1
call fcn.004104f0
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 0x4123b9
mov ecx, esi
call fcn.00410250
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004104a0
jmp 0x412c97
mov byte [esp + 0x16], bl
jmp 0x41242b
mov ecx, dword [esi + 0x5f30]
lea eax, [esp + 0xa8]
push eax
push ebx
push ecx
mov ecx, dword [esi + 0x5204]
lea edx, [esp + 0xbc]
push edx
lea eax, [esi + 0x5f34]
push eax
add ecx, 0x5020
push ecx
push 5
lea edi, [esi + 0x1024]
push ebx
mov ecx, edi
call fcn.00429af0
cmp byte [esi + 0x5f2c], bl
je 0x412427
lea eax, [esi + 0x5f44]
lea edx, [esp + 0xa8]
mov ecx, 8
sub edx, eax
mov ebp, dword [eax + edx]
cmp ebp, dword [eax]
jne 0x41253b
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x412411
mov dword [esp + 0x34], edi
push 7
lea ecx, [esp + 0x1c]
call fcn.00466560
lea ecx, [esp + 0x18]
mov byte [esi + 0x5ec8], bl
call fcn.004666a0
push 4
lea ecx, [esp + 0x1c]
mov dword [esi + 0x5eb8], eax
call fcn.004667e0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00466770
mov ecx, eax
or ecx, edx
je 0x412c74
cmp edi, ebx
je 0x412c74
lea ecx, [eax + edi - 3]
cmp ecx, ebx
lea edi, [eax + edi + 4]
jl 0x412c45
cmp edi, 7
jb 0x412c45
push ecx
lea ecx, [esp + 0x1c]
call fcn.00466560
cmp dword [esp + 0x2c], edi
jb 0x412393
lea ecx, [esp + 0x18]
call fcn.004668a0
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00466770
lea ecx, [esp + 0x18]
mov dword [esi + 0x5ebc], eax
call fcn.00466770
mov edx, dword [esi + 0x5ebc]
mov dword [esi + 0x5ec0], eax
shr eax, 2
and al, 1
cmp dword [esi + 0x5eb8], ebp
mov byte [esi + 0x5ec8], al
setne al
mov dword [esi + 0x5ec4], edi
mov dword [esi + 0x5224], edx
mov byte [esp + 0x17], al
test al, al
je 0x41256a
mov ecx, esi
call fcn.004102b0
push 3
mov ecx, 0x51e7a8
mov byte [esi + 0xa9cc], 1
call fcn.00433290
cmp byte [esp + 0x16], bl
je 0x41256a
lea edi, [esi + 0x1e]
push edi
push 0x1f8
call fcn.004744a0
push eax
push edi
call fcn.004abfe0
add esp, 0xc
mov byte [esi + 0xa9cd], 1
jmp 0x41239a
push 0x606
call fcn.004744a0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004abfe0
add esp, 8
push 0xb
mov ecx, 0x51e7a8
mov byte [esi + 0xa9cd], 1
call fcn.00433290
jmp 0x41239a
test byte [esi + 0x5ec0], 1
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
je 0x4125b6
lea ecx, [esp + 0x18]
call fcn.00466770
mov edi, dword [esi + 0x5ec4]
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
cmp edx, ecx
jb 0x4125b6
ja 0x4125aa
cmp eax, edi
jb 0x4125b6
mov ecx, esi
call fcn.004102b0
jmp 0x41239a
xor ebx, ebx
xor ebp, ebp
test byte [esi + 0x5ec0], 2
je 0x4125d0
lea ecx, [esp + 0x18]
call fcn.00466770
mov ebx, eax
mov ebp, edx
mov eax, dword [esi + 0x5ec4]
push eax
mov ecx, esi
call fcn.0040b7a0
xor ecx, ecx
add eax, dword [esi + 0xa9a8]
adc ecx, dword [esi + 0xa9ac]
add eax, ebx
adc ecx, ebp
mov dword [esi + 0xa9b0], eax
mov eax, dword [esi + 0x5ebc]
mov dword [esi + 0xa9b4], ecx
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x41260e
jmp dword [ecx*4 + 0x412cc4]
mov edx, dword [esi + 0x5eb8]
mov eax, dword [esi + 0x5ebc]
mov ecx, dword [esi + 0x5ec0]
mov dword [esi + 0x5f18], edx
mov edx, dword [esi + 0x5ec4]
mov dword [esi + 0x5f1c], eax
mov eax, dword [esi + 0x5ec8]
mov dword [esi + 0x5f20], ecx
mov dword [esi + 0x5f24], edx
lea ecx, [esp + 0x18]
mov dword [esi + 0x5f28], eax
call fcn.00466770
test eax, eax
jbe 0x41266e
lea ecx, [esi + 0x1e]
push ecx
mov ecx, esi
call fcn.004102e0
jmp 0x41239a
lea ecx, [esp + 0x18]
call fcn.00466770
and al, 1
lea ecx, [esp + 0x18]
mov byte [esi + 0x5f2c], al
call fcn.00466640
movzx eax, al
mov dword [esi + 0x5f30], eax
cmp eax, 0x18
jbe 0x4126a6
lea edx, [esi + 0x1e]
push edx
mov ecx, esi
call fcn.004102e0
jmp 0x41239a
push 0x10
lea eax, [esi + 0x5f34]
push eax
lea ecx, [esp + 0x20]
call fcn.00466810
cmp byte [esi + 0x5f2c], 0
je 0x412776
push 8
lea edi, [esi + 0x5f44]
push edi
lea ecx, [esp + 0x20]
call fcn.00466810
push 4
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x20]
call fcn.00466810
lea edx, [esp + 0x38]
push edx
call fcn.0047d2d0
push 8
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0047d780
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0047d830
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
cmp ecx, edx
je 0x412761
movzx eax, cl
movzx edi, dl
sub eax, edi
jne 0x412765
movzx edx, dh
movzx eax, ch
sub eax, edx
jne 0x412765
movzx ecx, byte [esp + 0xb2]
movzx eax, byte [esp + 0xaa]
sub eax, ecx
jne 0x412765
movzx edx, byte [esp + 0xb3]
movzx eax, byte [esp + 0xab]
sub eax, edx
jne 0x412765
xor eax, eax
jmp 0x41276b
sar eax, 0x1f
or eax, 1
test eax, eax
sete al
mov byte [esi + 0x5f2c], al
mov byte [esi + 0xa9c4], 1
jmp case.default.0x41260e
lea edi, [esi + 0x5ed8]
mov ecx, edi
call fcn.00441c90
mov ecx, dword [esi + 0x5eb8]
mov edx, dword [esi + 0x5ebc]
mov eax, dword [esi + 0x5ec0]
mov dword [edi], ecx
mov ecx, dword [esi + 0x5ec4]
mov dword [edi + 4], edx
mov edx, dword [esi + 0x5ec8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x10], edx
call fcn.00466770
mov edx, eax
shr edx, 2
and dl, 1
mov cl, al
and cl, 1
mov byte [esi + 0xa9bd], cl
mov byte [esi + 0xa9bc], dl
mov ecx, eax
mov edx, eax
shr ecx, 4
shr edx, 3
and cl, 1
and dl, 1
mov byte [esi + 0xa9bf], cl
mov byte [esi + 0xa9c3], dl
mov byte [esi + 0xa9c0], 0
mov byte [esi + 0xa9c2], 1
test al, 2
je 0x41281c
lea ecx, [esp + 0x18]
call fcn.00466770
mov dword [esi + 0xa9e0], eax
jmp 0x412826
mov dword [esi + 0xa9e0], 0
cmp byte [esi + 0xa9bd], 0
je 0x41283f
cmp dword [esi + 0xa9e0], 0
jne 0x41283f
mov eax, 1
jmp 0x412841
xor eax, eax
mov byte [esi + 0xa9c1], al
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je case.default.0x41260e
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411a00
jmp case.default.0x41260e
lea edi, [esi + 0x5f50]
cmp eax, 2
je 0x412881
lea edi, [esi + 0x8290]
push 0
mov ecx, edi
call fcn.00441d20
mov eax, dword [esi + 0x5eb8]
mov dword [edi], eax
mov ecx, dword [esi + 0x5ebc]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x5ec0]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x5ec4]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x5ec8]
mov dword [edi + 0x10], ecx
cmp dword [esi + 0x5ebc], 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.00466770
lea ecx, [esp + 0x18]
mov dword [edi + 0x1084], eax
call fcn.00466770
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 0x41291d
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 0x41293f
jg 0x412943
cmp edx, ebx
ja 0x412943
mov edx, ebx
mov eax, ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x1058], edx
mov dword [edi + 0x105c], eax
call fcn.00466770
test byte [edi + 0x1084], 2
mov dword [edi + 0x1c], eax
je 0x41297b
lea ecx, [esp + 0x18]
call fcn.004666a0
push 0
push eax
lea ecx, [edi + 0x1030]
call fcn.00481550
xor ebx, ebx
test byte [edi + 0x1084], 4
mov dword [edi + 0x1060], ebx
je 0x4129a5
lea ecx, [esp + 0x18]
mov dword [edi + 0x1060], 2
call fcn.004666a0
mov dword [edi + 0x1064], eax
lea ecx, [esp + 0x18]
mov dword [edi + 0x10f0], ebx
call fcn.00466770
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.00466770
lea ecx, [esp + 0x18]
mov byte [edi + 0x18], al
call fcn.00466770
mov ecx, dword [esi + 0x5ec0]
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 0x412a0f
mov dword [edi + 0x10ec], 1
jmp 0x412a1d
test cl, cl
jne 0x412a1d
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 0x412a5a
test bl, 0x40
je 0x412a5a
mov ecx, 1
jmp 0x412a5c
xor ecx, ecx
mov byte [edi + 0x10e0], cl
mov cl, byte [edi + 0x1084]
and cl, 1
mov byte [edi + 0x10e1], cl
je 0x412a77
xor edx, edx
jmp 0x412a86
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 0x412aaf
mov ebx, 0x1fff
push ebx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x20]
call fcn.00466810
mov byte [esp + ebx + 0xd0], 0
push 0x7ff
lea ebx, [edi + 0x20]
push ebx
lea eax, [esp + 0xd8]
push eax
call fcn.00485c50
mov eax, dword [esp + 0xa8]
mov ecx, eax
or ecx, dword [esp + 0xac]
je 0x412aff
push edi
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00411a00
cmp byte [esp + 0x16], 0
je 0x412b44
push ebx
mov ecx, esi
call fcn.00410320
push edi
mov ecx, esi
call fcn.004103a0
push edi
call fcn.0040bdc0
cmp byte [esp + 0x17], 0
je case.default.0x41260e
push ebx
push 0x2ab
call fcn.004744a0
push eax
lea eax, [esi + 0x1e]
push eax
call fcn.004abfe0
add esp, 0xc
jmp case.default.0x41260e
push 0x4d6a78
mov ecx, edi
call fcn.0040b990
test al, al
je 0x412b1c
cmp dword [edi + 0x1024], 0
jbe 0x412b1c
mov eax, dword [edi + 0x1020]
movzx ecx, byte [eax]
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esi + 0x5210], ecx
call fcn.0046eff0
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.004bfed0
mov dword [esi + 0x5208], eax
mov dword [esi + 0x520c], edx
jmp 0x412b1c
mov ecx, dword [esi + 0x5eb8]
mov edx, dword [esi + 0x5ebc]
mov eax, dword [esi + 0x5ec0]
mov dword [esi + 0x8250], ecx
mov ecx, dword [esi + 0x5ec4]
mov dword [esi + 0x8254], edx
mov edx, dword [esi + 0x5ec8]
mov dword [esi + 0x8258], eax
mov dword [esi + 0x825c], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x8260], edx
call fcn.00466770
and al, 1
mov byte [esi + 0x826c], al
mov byte [esi + 0x826f], 0
mov byte [esi + 0x826d], 0
mov byte [esi + 0x826e], 0
mov eax, dword [esi + 0xa9b4]
cmp eax, dword [esi + 0xa9ac]
jg 0x412c29
jl 0x4125aa
mov ecx, dword [esi + 0xa9b0]
cmp ecx, dword [esi + 0xa9a8]
jbe 0x4125aa
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004104a0
mov eax, esi
jmp 0x412c99
push 0x2ac
call fcn.004744a0
push eax
lea edx, [esi + 0x1e]
push edx
call fcn.004abfe0
add esp, 8
push 3
mov ecx, 0x51e7a8
mov byte [esi + 0xa9cc], 1
call fcn.00433290
jmp 0x41239a
mov ecx, esi
call fcn.00410250
mov dword [esp + 0x20dc], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x412c97
push eax
call fcn.004bff04
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.004bfc52
add esp, 0x20cc
ret