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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x9c]
cmp eax, dword [ecx]
ja 0x4af126
xor edi, edi
mov eax, 0x14
call fcn.0042a440
jmp fcn.004af100
sub esp, 0x11c
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp], 0x61cdc0
call fcn.00424940
mov edi, dword [esp + 4]
mov ebx, edi
cmp edi, 0
je 0x4afc73
xor eax, eax
call fcn.0042bd82
mov dword [esp + 0x128], ebx
mov byte [esp + 0x27], 0
mov ecx, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x9c], ecx
mov dword [esp], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 4], eax
call fcn.00423170
mov ecx, dword [esp + 0x128]
mov ebp, dword [esp + 8]
cmp ebp, 0x29cb474c
mov dword [esp + 0x44], ebp
jne 0x4af613
mov dword [esp], 0x616000
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call fcn.00422820
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af613
mov ebp, dword [edx + 0x44]
xor ebx, ebx
cmp ebp, ebx
je 0x4af215
mov esi, dword [edx + 0x44]
cmp esi, 0
je 0x4af60c
cmp ecx, 0
je 0x4af605
mov edi, ecx
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x5fa720
mov dword [esp + 0x50], edx
mov esi, edx
cmp edx, 0
je 0x4af5fe
add esi, 0x20
lea edi, [esp + 4]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422920
lea ebx, [esp + 0xc]
mov esi, ebx
mov edi, dword [esp + 0x128]
cmp edi, 0
je 0x4af5f7
add edi, 8
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x5fa6c0
mov esi, dword [esp + 0x50]
cmp esi, 0
je 0x4af5f0
add esi, 0x20
lea edi, [esp + 4]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422920
mov edi, dword [esp + 0x128]
lea ebx, [esp + 0xc]
mov esi, ebx
mov ecx, edi
cmp edi, 0
je 0x4af5e9
add edi, 0x10
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edx
mov ebx, dword [esp + 0x50]
movzx ebp, byte [ebx + 0x3c]
xchg ebp, eax
mov byte [ecx + 0x24], al
xchg ebp, eax
mov esi, dword [esp + 0x50]
cmp esi, 0
je 0x4af5e2
add esi, 0x30
mov edi, ecx
add edi, 0x28
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x40]
mov dword [ecx + 0x34], ebp
mov eax, dword [esp + 0x50]
mov edx, 1
mov esi, 1
mov ebp, dword [eax + 0x14]
cmp ebp, edx
jg 0x4af302
mov ebp, dword [eax + 0x14]
cmp ebp, edx
jne 0x4af5db
mov ebp, dword [eax + 0x18]
cmp ebp, esi
jl 0x4af5db
mov eax, 1
mov byte [esp + 0x27], al
cmp ecx, 0
je 0x4af5d4
mov esi, dword [ecx]
mov dword [esp + 0x84], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
cmp eax, 4
jne 0x4af5cd
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x62f980]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov ecx, dword [esp + 0x128]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af5cd
mov eax, 1
mov byte [ecx + 0x18], al
movzx ebx, byte [ecx + 0x18]
cmp bl, 0
je 0x4af4d7
mov edi, ecx
add edi, 8
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ecx + 0x28]
mov dword [esp + 0xb8], esi
mov eax, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x30]
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], eax
cmp eax, 0
jle 0x4af4c9
cmp eax, 0
jbe 0x4af4d0
mov ebx, esi
mov esi, dword [esi]
mov eax, dword [ebx + 4]
cmp eax, 7
jne 0x4af4c9
mov dword [esp + 0x94], esi
mov dword [esp], esi
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
lea esi, [0x6313a0]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov ecx, dword [esp + 0x128]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af4c9
mov eax, 1
cmp al, 0
je 0x4af410
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
cmp ecx, 0
je 0x4af4c2
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x30]
mov dword [esp + 0xcc], ebp
cmp eax, 0
jle 0x4af4b7
cmp eax, 0
mov dword [esp + 0xc8], eax
jbe 0x4af4bb
mov dword [esp + 0xc4], esi
mov ebx, esi
mov esi, dword [esi]
mov eax, dword [ebx + 4]
cmp eax, 7
jne 0x4af4b7
mov dword [esp + 0x94], esi
mov dword [esp], esi
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
lea esi, [0x6313a0]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov ecx, dword [esp + 0x128]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af4b7
mov eax, 1
cmp al, 0
jne 0x4af49a
mov dword [ecx + 0x34], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
add esp, 0x11c
ret
xor eax, eax
jmp 0x4af48e
call fcn.004116c0
ud2
mov dword [ecx], eax
jmp 0x4af419
xor eax, eax
jmp 0x4af3fd
call fcn.004116c0
ud2
cmp byte [esp + 0x27], 0
je 0x4af5b5
cmp dword [ecx + 8], 0
je 0x4af5b5
cmp ecx, 0
je 0x4af5ae
mov esi, dword [ecx + 0x28]
mov dword [esp + 0xac], esi
mov eax, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x30]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], eax
cmp eax, 0
jle 0x4af5a3
cmp eax, 0
jbe 0x4af5a7
mov ebx, esi
mov esi, dword [esi]
mov eax, dword [ebx + 4]
cmp eax, 7
jne 0x4af5a3
mov dword [esp + 0x94], esi
mov dword [esp], esi
mov dword [esp + 0x98], eax
mov dword [esp + 4], eax
lea esi, [0x6313a0]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov ecx, dword [esp + 0x128]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af5a3
mov eax, 1
cmp al, 0
je 0x4af586
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
jmp 0x4af410
cmp dword [ecx + 8], 0
jne 0x4af410
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
jmp 0x4af410
xor eax, eax
jmp 0x4af56e
call fcn.004116c0
ud2
mov dword [ecx], eax
jmp 0x4af4f5
mov edi, ecx
cmp ecx, 0
je 0x4af5c9
add edi, 0x28
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x4af4ec
mov dword [ecx], eax
jmp 0x4af5bc
xor eax, eax
jmp 0x4af363
mov dword [ecx], eax
jmp 0x4af314
xor eax, eax
jmp 0x4af307
mov dword [esi], eax
jmp 0x4af2c1
mov dword [edi], eax
jmp 0x4af291
mov dword [esi], eax
jmp 0x4af26a
mov dword [edi], eax
jmp 0x4af250
mov dword [edx], eax
jmp 0x4af22b
mov dword [ecx], eax
jmp 0x4af210
mov dword [esi], eax
jmp 0x4af207
cmp ebp, 0x7ade63e2
jne 0x4af366
mov dword [esp], 0x624d00
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call fcn.00422820
mov ecx, dword [esp + 0x128]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4af366
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
cmp edx, 0
jne 0x4af66e
cmp ebx, 0
je 0x4af740
cmp dword [ebp + 0x20], 0
jne 0x4af740
lea edi, [esp + 0xa4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ebx, [esp + 0xa4]
cmp ebx, 0
je 0x4af739
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], 1
mov dword [esp], 0x5c9cc0
mov dword [esp + 4], ebp
cmp dword [esp + 4], 0
je 0x4af731
add dword [esp + 4], 0x28
call fcn.00422500
mov edi, dword [esp + 0x100]
lea ebx, [esp + 8]
mov esi, ebx
mov edx, edi
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [0x674d60]
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x10], ebx
call fcn.00489d10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
add esp, 0x11c
ret
mov dword [0], eax
jmp 0x4af6c2
mov dword [ebx], eax
jmp 0x4af693
cmp ebp, 0
je 0x4afc6b
cmp ecx, 0
je 0x4afc64
mov esi, ebp
mov edi, ecx
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x5fa720
mov dword [esp + 0x54], ebp
mov esi, ebp
add esi, 0x20
lea edi, [esp + 4]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422920
lea ebx, [esp + 0xc]
mov esi, ebx
mov edi, dword [esp + 0x128]
cmp edi, 0
je 0x4afc5d
add edi, 8
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x5fa6c0
mov esi, dword [esp + 0x54]
cmp esi, 0
je 0x4afc56
add esi, 0x20
lea edi, [esp + 4]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422920
mov edi, dword [esp + 0x128]
lea ebx, [esp + 0xc]
mov esi, ebx
mov ecx, edi
cmp edi, 0
je 0x4afc4f
add edi, 0x10
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edx
mov ebx, dword [esp + 0x54]
movzx ebp, byte [ebx + 0x3c]
xchg ebp, eax
mov byte [ecx + 0x24], al
xchg ebp, eax
mov esi, dword [esp + 0x54]
cmp esi, 0
je 0x4afc48
add esi, 0x30
mov edi, ecx
add edi, 0x28
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 0x54]
mov dword [ecx + 0x34], ebp
mov eax, dword [esp + 0x54]
mov edx, 1
mov edi, 1
mov ebp, dword [eax + 0x14]
cmp ebp, edx
jg 0x4af83d
mov ebp, dword [eax + 0x14]
cmp ebp, edx
jne 0x4afc41
mov ebp, dword [eax + 0x18]
cmp ebp, edi
jl 0x4afc41
mov eax, 1
mov byte [esp + 0x27], al
cmp dword [ecx + 8], 0
je 0x4af366
mov ebp, dword [ecx + 0x2c]
cmp ebp, 0
jne 0x4af366
cmp byte [esp + 0x27], 0
je 0x4af366
mov ebx, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
cmp edx, 0
jne 0x4afab8
cmp ebx, 0
jne 0x4afab8
mov dword [esp], 0x5c5400
call fcn.00424940
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], ecx
mov esi, dword [esp + 0x128]
cmp esi, 0
je 0x4afc3a
add esi, 8
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ecx, 0
je 0x4afc33
mov edx, ecx
mov ecx, 1
mov eax, 1
mov dword [esp + 0xdc], edx
mov dword [esp + 8], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0x10], eax
call fcn.0049a4f0
mov ecx, dword [esp + 0x128]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x80], esi
cmp eax, 0
mov dword [esp + 0x7c], eax
je 0x4af951
mov ebx, dword [0x76cc48]
cmp eax, ebx
jne 0x4afb9f
mov dword [esp], eax
mov dword [esp + 4], esi
mov ebp, dword [0x76cc48]
mov dword [esp + 8], ebp
mov ebp, dword [0x76cc4c]
mov dword [esp + 0xc], ebp
call fcn.00423060
mov ecx, dword [esp + 0x128]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4afb9f
cmp dword [esp + 0x28], 1
jne 0x4afb7f
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
mov edx, dword [esp + 0x78]
cmp edx, 0
je 0x4afb78
mov ecx, 1
mov eax, 1
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd8], eax
mov dword [esp], 0x60df40
call fcn.00424940
mov eax, dword [esp + 4]
mov ebp, dword [esp + 0xd0]
mov dword [eax], ebp
mov ebp, dword [esp + 0xd4]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0xd8]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [esp + 0x68], eax
mov ecx, dword [0x76c474]
xor ebx, ebx
cmp ecx, ebx
je 0x4afb53
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.0042bd8c
lea ebx, [esp + 0x10c]
cmp ebx, 0
je 0x4afb4c
mov edi, ebx
mov dword [esp + 0xf8], 2
mov dword [esp + 0xfc], 2
mov esi, dword [esp + 0x68]
mov dword [esp + 0x8c], ecx
mov dword [ebx], ecx
mov dword [esp + 0x90], esi
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x128]
cmp esi, 0
je 0x4afb45
add esi, 8
add edi, 8
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xf4], ebx
mov dword [esp], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xfc]
mov dword [esp + 8], ebx
call fcn.0049b160
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp ecx, 0
je 0x4afb3e
mov dword [esp + 0x8c], eax
mov dword [ecx + 8], eax
mov dword [esp + 0x90], edx
mov dword [ecx + 0xc], edx
mov ebx, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
cmp edx, 0
jg 0x4af366
jl 0x4afad2
cmp ebx, 0
jae 0x4af366
mov dword [esp], 0x5c5340
call fcn.00424940
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 4]
cmp edi, 0
je 0x4afb3a
lea esi, [0x69d5a8]
mov eax, edi
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, 0
je 0x4afb36
mov esi, eax
mov edx, 1
mov eax, 1
cmp ecx, 0
je 0x4afb32
mov dword [esp + 0xe8], esi
mov dword [ecx + 0x28], esi
mov dword [esp + 0xec], edx
mov dword [ecx + 0x2c], edx
mov dword [esp + 0xf0], eax
mov dword [ecx + 0x30], eax
jmp 0x4af366
mov dword [ecx], eax
jmp 0x4afb0f
mov dword [eax], eax
jmp 0x4afafe
mov dword [edi], eax
jmp 0x4afaee
mov dword [ecx], eax
jmp 0x4afaa4
mov dword [esi], eax
jmp 0x4afa5e
mov dword [ebx], eax
jmp 0x4afa1f
mov dword [esp], 0x61e640
mov dword [esp + 4], 0x5fa720
mov dword [esp + 8], 0x76c474
call fcn.00422420
mov ecx, dword [esp + 0xc]
jmp 0x4afa01
mov dword [edx], eax
jmp 0x4af977
mov edi, ecx
cmp ecx, 0
je 0x4afb9b
add edi, 8
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
add edi, 0x10
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x4afab8
mov dword [ecx], eax
jmp 0x4afb86
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
mov dword [esp], 0x603060
call fcn.00424940
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 4]
mov ebp, dword [esp + 0x7c]
mov dword [eax], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + 4], ebp
mov dword [esp + 0x70], eax
mov eax, dword [0x76c614]
xor ebx, ebx
cmp eax, ebx
je 0x4afc0a
mov edx, dword [esp + 0x70]
cmp ecx, 0
je 0x4afc06
mov dword [esp + 0x8c], eax
mov dword [ecx + 8], eax
mov dword [esp + 0x90], edx
mov dword [ecx + 0xc], edx
jmp 0x4afab8
mov dword [ecx], eax
jmp 0x4afbed
mov dword [esp], 0x5fc4c0
mov dword [esp + 4], 0x5fa720
mov dword [esp + 8], 0x76c614
call fcn.00422420
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
jmp 0x4afbe4
mov dword [ecx], eax
jmp 0x4af8b5
mov dword [esi], eax
jmp 0x4af8a3
xor eax, eax
jmp 0x4af842
mov dword [esi], eax
jmp 0x4af7fc
mov dword [edi], eax
jmp 0x4af7cc
mov dword [esi], eax
jmp 0x4af7a5
mov dword [edi], eax
jmp 0x4af78b
mov dword [ecx], eax
jmp 0x4af752
mov dword [ebp], eax
jmp 0x4af749
mov dword [edi], eax
jmp 0x4af15d