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

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x422d91
sub esp, 0xa0
mov eax, dword [0x544900]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x422142
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x422142
cmp dword [ecx], eax
jne 0x422d7a
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x42215d
mov dword [eax], 0
mov dword [esp + 0x28], ecx
test byte [ecx], al
lea eax, [ecx + 0x3f]
mov dword [esp + 0x7c], eax
mov edx, dword [0x524890]
mov dword [esp + 0x20], edx
nop
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422d71
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x34], edx
jne 0x422cc0
mov dword [esp + 0x5c], edx
movzx eax, byte [0x528e84]
test al, al
je 0x4221c0
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.004520f0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x78], ecx
lea edx, [0x5248a8]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00402a30
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x58], ecx
movzx edx, byte [eax + 0x3e]
mov byte [esp + 0x16], dl
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
jmp 0x42221d
mov eax, ebp
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x42230c
test ebx, ebx
je 0x422cbb
movzx esi, word [ebp + 4]
mov edi, eax
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x2c], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x44], ecx
test byte [ecx], al
shr edx, 3
mov dword [esp + 0x30], edx
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x19], cl
mov edx, dword [esp + 0x2c]
and edx, 7
mov ecx, edx
mov edi, 1
shl edi, cl
lea edx, [eax + esi]
nop
movzx esi, byte [esp + 0x19]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x4222d6
cmp byte [ebp + 6], 3
je 0x4222a1
nop
mov dword [esp + 0x80], ebp
mov edx, dword [ebp]
mov dword [esp + 0x84], edx
jmp 0x4222cd
mov eax, dword [ebp]
nop
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00426ae0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422212
lea edx, [eax + ebx]
jmp 0x422c29
or esi, edi
nop
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
xchg esi, eax
mov byte [edi + ebp], al
xchg esi, eax
mov eax, 1
jmp 0x4222fb
xor eax, eax
jmp 0x4222fb
xor eax, eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x17], al
mov ebp, dword [esp + 0x28]
jmp 0x422c48
test ecx, ecx
je 0x42232c
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x42232c
mov dword [esp], eax
call fcn.00426490
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [0x544c54]
test ebp, ebp
jne 0x422340
mov ebp, dword [0x544c04]
test ebp, ebp
je 0x422388
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov dword [esp + 0x88], ebp
mov byte [esp + 0x8c], 1
mov dword [esp + 0x90], 0
mov ebp, dword [eax + 0x28]
test byte [ebp], al
nop
mov dword [esp + 0x94], ebp
mov byte [esp + 0x98], 1
mov dword [esp + 0x9c], 0
xor ecx, ecx
jmp 0x422b15
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x4223e3
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov esi, ecx
shr esi, 3
movzx ebp, byte [ebp + esi]
mov edi, dword [eax + 0x28]
test byte [edi], al
movzx edi, byte [edi + esi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and ecx, 7
xchg edi, eax
shr al, cl
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4223db
mov dword [esp + 0x34], esi
mov dword [esp], eax
call fcn.00422fe0
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
lea ecx, [esi + 1]
jmp 0x422aba
mov dword [esp], eax
call fcn.00410350
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + 0x3c]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x4229d0
mov dword [esp + 0x54], eax
mov word [esp + 0x1a], dx
mov word [ecx + 0x3c], ax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x5c], 0
movzx ebx, byte [0x528e84]
test bl, bl
je 0x422448
mov ebx, dword [0x544900]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x58]
movzx ebp, dx
imul ebp, dword [ecx + 0x44]
add dword [ebx + 0x91c], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00426d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x422477
mov dword [esp], ecx
call fcn.00434eb0
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f360
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x4229c7
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jne 0x422916
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x422900
lea ebx, [eax + 3]
cmp edx, ebx
je 0x422900
lea edx, [ecx + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402ae0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x4225b9
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x4228ea
mov edx, dword [esp + 0x54]
test dx, dx
jbe 0x422552
movzx edx, byte [esp + 0x16]
movzx edx, dl
cmp edx, 0x88
jae 0x4228de
shl edx, 7
lea ecx, [0x524930]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042d7e0
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x5248a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402970
nop
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00402b80
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x422f40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.0045c980
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
movzx edx, byte [esp + 0x16]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x42275a
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x4225e3
movzx edx, byte [esp + 0xa8]
test dl, dl
jmp 0x42267b
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x5481c0]
mov dword [esp], ecx
call fcn.0042e090
movzx eax, byte [esp + 0x18]
movsx eax, al
cmp eax, 0x44
jae 0x4228d4
mov ecx, dword [esp + 4]
test byte [ecx], al
lea eax, [ecx + eax*8 + 0x278]
mov dword [esp], eax
mov dword [esp + 8], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
call fcn.00402a30
lea eax, [0x5481c0]
mov dword [esp], eax
call fcn.0042e180
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x5c]
mul ecx
lea ecx, [0x545150]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00402a30
movzx eax, byte [esp + 0xa8]
test al, al
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x16]
jne 0x4228a1
mov edx, dword [esp + 0x54]
test dx, dx
je 0x42270e
movzx edx, dx
cmp dword [eax + 0x1c], edx
jne 0x4226d2
movzx edx, bl
cmp edx, 0x88
jae 0x4228c8
shl edx, 7
lea ecx, [0x524930]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042d7e0
jmp 0x4228a1
movzx edx, bl
cmp edx, 0x88
jae 0x4228bc
shl edx, 7
lea ecx, [0x524930]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x20]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042d7e0
jmp 0x4228a1
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422e70]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5247e0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c980
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x4228a1
movzx edx, word [esp + 0x1a]
test dx, dx
je 0x42286e
mov ecx, dword [0x544c10]
test ecx, ecx
jle 0x42279e
mov dword [eax + 0x48], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00412680
jmp 0x4227db
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422da0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5247e0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c980
lea eax, [0x5481c0]
mov dword [esp], eax
call fcn.0042e090
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
test byte [eax], al
lea ecx, [eax + 0x270]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00402a30
mov eax, dword [esp + 0x74]
add eax, 0x268
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a30
lea eax, [0x5481c0]
mov dword [esp], eax
call fcn.0042e180
nop
lea eax, [0x545150]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a30
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, bl
cmp edx, 0x88
jae 0x4228b0
shl edx, 7
lea ecx, [0x524930]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042d7e0
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov eax, edx
mov ecx, 0x88
call fcn.0045ded0
mov eax, edx
mov ecx, 0x88
call fcn.0045ded0
mov eax, edx
mov ecx, 0x88
call fcn.0045ded0
mov ecx, 0x44
call fcn.0045ded0
mov eax, edx
mov ecx, 0x88
call fcn.0045ded0
lea eax, [0x4a02f2]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.00434300
lea eax, [0x49b5a1]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00434300
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435bb0
lea eax, [0x49bc6e]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x499f06]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x49b16c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436110
call fcn.00435dc0
call fcn.00435c10
lea eax, [0x49fc01]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00434300
mov ecx, dword [esp + 0x28]
jmp 0x422916
movzx edx, dx
mov dword [esp + 0x5c], edx
movzx ebx, bx
mov dword [esp + 0x50], ebx
movzx eax, ax
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x48], ecx
call fcn.00435bb0
lea eax, [0x49b17c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x499b64]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x49c35d]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x499b6c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436110
call fcn.00435dc0
call fcn.00435c10
lea eax, [0x49e8f4]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00434300
inc ecx
mov ebp, dword [eax + 0x1c]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x4223e3
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
movzx ebp, byte [ecx + ebp]
mov esi, dword [eax + 0x28]
test byte [esi], al
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg ebp, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg ebp, eax
je 0x422ab9
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.00422fe0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
jmp 0x422ab9
inc dword [esp + 0x9c]
inc ecx
cmp dword [eax + 0x1c], ecx
jbe 0x422388
mov ebp, dword [esp + 0x88]
movzx esi, byte [esp + 0x8c]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x422bae
mov ebp, dword [esp + 0x9c]
cmp dword [eax + 0x18], ebp
ja 0x422b64
mov ebp, dword [esp + 0x94]
movzx esi, byte [esp + 0x98]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x422bae
mov ebp, dword [eax + 0x44]
imul ebp, ecx
mov esi, dword [0x544c54]
add ebp, dword [eax + 0xc]
test esi, esi
je 0x422ba0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0042ccc0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [0x544c04]
test esi, esi
je 0x422bae
xor esi, esi
jmp 0x422c20
movzx ebp, byte [esp + 0x8c]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x422bcf
inc dword [esp + 0x88]
mov byte [esp + 0x8c], 1
jmp 0x422bda
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x8c], al
xchg ebp, eax
inc dword [esp + 0x90]
movzx ebp, byte [esp + 0x98]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x422c05
inc dword [esp + 0x94]
mov byte [esp + 0x98], 1
jmp 0x422b0d
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x98], al
xchg ebp, eax
jmp 0x422b0d
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x422c15
jmp 0x422bae
mov ebp, dword [ebp]
test ebp, ebp
je 0x4222f9
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x4222f5
cmp byte [ebp + 6], 1
jne 0x422c26
jmp 0x4222de
mov esi, dword [esp + 0x84]
test esi, esi
je 0x422212
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x422212
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp byte [esi + 6], 1
je 0x422c85
test al, al
je 0x422c85
nop
mov dword [esp + 0x80], esi
mov esi, dword [esi]
mov dword [esp + 0x84], esi
jmp 0x422c48
mov eax, dword [esi]
nop
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.00426ae0
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422c48
call fcn.00432b80
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435bb0
lea eax, [0x49bc6e]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x499f06]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436110
lea eax, [0x49b16c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436430
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436110
call fcn.00435dc0
call fcn.00435c10
lea eax, [0x49d873]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434300
mov ebx, dword [esp + 0x28]
jmp 0x422cc0
lea eax, [0x49dc0f]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00434300
nop
call fcn.0045ca70
jmp fcn.00422100