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

Disassembly:
push 0xffffffffffffffff
push 0x1b016b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x1b02d66c]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x1b030040
mov dword [esp + 0xcc], eax
mov dword [esp + 0x38], ebx
call fcn.1afc0430
test eax, eax
je 0x1afd86a3
push ebx
lea eax, [esp + 0x24]
push eax
push 0x1b030040
call fcn.1afc04e0
push eax
push 0x1b030040
call fcn.1afc00b0
mov edi, eax
cmp edi, ebx
je 0x1afd86a3
xor ecx, ecx
mov dword [esp + 0x52], ecx
mov dword [esp + 0x56], ecx
mov dword [esp + 0x5a], ecx
mov dword [esp + 0x5e], ecx
mov dword [esp + 0x62], ecx
mov dword [esp + 0x66], ecx
push 0x14
mov dword [esp + 0x6e], ecx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x76], ecx
push edi
mov dword [esp + 0x7e], ecx
push 0x1b030040
mov word [esp + 0x60], bx
mov word [esp + 0x86], cx
call fcn.1afc6d70
lea eax, [esp + 0x50]
push 0x1b01ba10
push eax
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd8653
push 0xf
push 0x1b030040
call fcn.1afc0240
test eax, eax
jne 0x1afd86a3
push edi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
jne 0x1afd8685
cmp dword [0x1b03004c], ebx
je 0x1afd8685
push 0x64
push 0x1b030040
call fcn.1afbc820
push edi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
je 0x1afd8662
mov ecx, dword [esp + 0x20]
push ecx
push 0x1b030040
call fcn.1afc69a0
push 0x7d0
push 0x1b030040
call fcn.1afbc820
push 0x1b030040
call fcn.1afc0590
test eax, eax
mov esi, dword [0x1b019358]
je 0x1afd87a1
push ebx
lea edx, [esp + 0x24]
push edx
push 0x1b030040
call fcn.1afc0590
push eax
push 0x1b030040
call fcn.1afc00b0
mov edi, eax
cmp edi, ebx
je 0x1afd87a1
push edi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
jne 0x1afd8713
nop
cmp dword [0x1b03004c], ebx
je 0x1afd8713
push 0x64
push 0x1b030040
call fcn.1afbc820
push edi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
je 0x1afd86f0
mov eax, dword [esp + 0x20]
push eax
push 0x1b030040
call fcn.1afc69a0
call esi
push 0x1b030040
mov edi, eax
call fcn.1afc0590
test eax, eax
je 0x1afd8761
cmp dword [0x1b030e6c], ebx
jne 0x1afd8761
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x1afd8761
push 0x64
push 0x1b030040
call fcn.1afbc820
push 0x1b030040
call fcn.1afc0590
test eax, eax
jne 0x1afd8734
push 0x1b030040
call fcn.1afc0270
test eax, eax
je 0x1afd8792
nop
cmp dword [0x1b030e6c], ebx
jne 0x1afd8792
push 0x64
push 0x1b030040
call fcn.1afbc820
push 0x1b030040
call fcn.1afc0270
test eax, eax
jne 0x1afd8770
push 0x3e8
push 0x1b030040
call fcn.1afbc820
call fcn.1afd1d80
fild dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
mov edi, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe0]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push 0
push ecx
push ebp
push edi
push ebx
call fcn.1afce820
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
call fcn.1afd16d0
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
call fcn.1afcec40
call fcn.1afcf390
mov eax, dword [0x1b030160]
test eax, eax
je 0x1afd88a1
call esi
sub eax, dword [0x1b030164]
cmp eax, 0xbb8
jbe 0x1afd88a1
push 0x1b030040
call fcn.1afc5090
push 0x1b030040
call fcn.1afca4d0
call esi
mov dword [0x1b030164], eax
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
mov edx, dword [esp + 0xec]
push edx
push ebp
push edi
push ebx
call fcn.1afb5270
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
mov eax, dword [0x1b0300fc]
test eax, eax
je 0x1afd89bc
mov eax, dword [0x1b030100]
test eax, eax
je 0x1afd895f
push 0x1b030040
call fcn.1afbd590
test eax, eax
je 0x1afd89bc
push 0x1b01cc5c
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcc950
test eax, eax
je 0x1afd8984
push 0x1b01cc5c
jmp 0x1afd89a7
push 0x1b01cc54
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcc950
test eax, eax
je 0x1afd89bc
push 0x1b01cc54
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
push 1
push ebp
push edi
push ebx
push 0x1b030040
call fcn.1afc7860
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x1afd8a81
push 0x1b030040
call fcn.1afc6240
test eax, eax
je 0x1afd89f5
push 0
push 0x1f4
push ebp
jmp 0x1afd8a75
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xd0
je 0x1afd8a6c
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xd1
je 0x1afd8a6c
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xd2
je 0x1afd8a6c
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xdd
je 0x1afd8a6c
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xde
je 0x1afd8a6c
push 0x1b030040
call fcn.1afc2ee0
cmp eax, 0xe0
je 0x1afd8a6c
push 0
push ebp
push edi
push ebx
push 0x1b030040
call fcn.1afcbbb0
jmp 0x1afd8a81
push 0
push 0x1f4
push 0
push edi
push ebx
push 0x1b030040
call fcn.1afc8400
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
mov esi, dword [esp + 0x10]
push esi
push ebp
push edi
push ebx
call fcn.1afd2490
push esi
push ebp
push edi
push ebx
call fcn.1afceca0
push esi
push ebp
push edi
push ebx
call fcn.1afcf470
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd925e
mov eax, dword [esp + 0xdc]
push eax
lea ecx, [esp + 0x24]
call fcn.1afb4a60
mov ecx, dword [esp + 0xec]
push ecx
push ebp
push edi
push ebx
push 0
push 1
push eax
push 0
push 0
mov dword [esp + 0xf8], 0
call fcn.1afd45a0
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0xd4], 0xffffffff
call fcn.1afb22e0
mov eax, dword [0x1b0300d4]
test eax, eax
je 0x1afd8c20
test esi, esi
jne 0x1afd8c28
push 0x1b030040
call fcn.1afc6240
test eax, eax
je 0x1afd8bcd
push 1
push ebp
push edi
push ebx
push 0x1b030040
call fcn.1afc7860
fcomp qword [0x1b01b868]
fnstsw ax
test ah, 0x41
jne 0x1afd925e
push 0x1b030040
call fcn.1afc0330
test eax, eax
jne 0x1afd925e
push ebp
jmp 0x1afd8c00
push 0
push ebp
push edi
push ebx
push 0x1b030040
call fcn.1afc7860
fcomp qword [0x1b01b868]
fnstsw ax
test ah, 0x41
jne 0x1afd925e
push 0x1b030040
call fcn.1afc0330
test eax, eax
jne 0x1afd925e
push eax
push edi
push ebx
push 0x1b030040
call fcn.1afc7f70
push 0xc8
push 0x1b030040
call fcn.1afbc820
jmp 0x1afd925e
test esi, esi
je 0x1afd925e
push esi
push 0x1b030040
call fcn.1afbcb60
push edx
push eax
push 0x1b030040
call fcn.1afc5990
push 0x1b030040
call fcn.1afbd8e0
mov ecx, dword [0x1b030148]
mov dword [esp + 0x40], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
mov dword [0x1b03015c], 1
je 0x1afd8caa
mov eax, dword [esp + 0xf0]
test eax, eax
jne 0x1afd8caa
push 0x1b030040
call fcn.1afc7c00
test eax, eax
je 0x1afd8caa
push 0x1b030040
call fcn.1afbd8e0
push edx
push eax
push 0x1b030040
call fcn.1afc7d30
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push 0x1b030040
call fcn.1afbecf0
mov eax, dword [0x1b03004c]
test eax, eax
je 0x1afd9203
lea esp, [esp]
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd925e
push 0
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd925e
push 0x1b030040
call fcn.1afbd8e0
or eax, edx
je 0x1afd9203
push 0x1b030040
call fcn.1afbd8e0
cmp eax, dword [esp + 0x40]
jne 0x1afd9203
cmp edx, dword [esp + 0x44]
jne 0x1afd9203
push 0x1b030040
call fcn.1afbd8e0
xor eax, eax
and edx, 0x80000000
or eax, edx
je 0x1afd925e
lea ecx, [esp + 0x34]
push ecx
push 0x1b030040
call fcn.1afbdcb0
mov edx, dword [esp + 0x34]
push edx
push 0x1b030040
mov esi, eax
call fcn.1afbd8e0
push edx
push eax
push esi
push 0x1b030040
call fcn.1afbf720
push eax
push 0x1b030040
mov dword [esp + 0x30], eax
call fcn.1afbebc0
test eax, eax
je 0x1afd925e
mov esi, dword [esp + 0x10]
push 1
push esi
push ebp
push edi
push ebx
call fcn.1afce820
push esi
push ebp
push edi
push ebx
call fcn.1afcf470
mov eax, dword [esp + 0x24]
push eax
push 0x3b
mov ecx, 0x1b030168
call fcn.1afb3b70
mov esi, eax
cmp esi, 0xffffffff
jne 0x1afd8dd8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1afd925e
push 0
push 0x3b
mov ecx, 0x1b030168
mov dword [esp + 0x2c], 0
call fcn.1afb3b70
mov esi, eax
mov eax, dword [esp + 0x24]
mov ecx, esi
sub ecx, eax
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, 0x1b030168
call fcn.1afb3f50
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.1affb9a2
add esp, 8
lea ecx, [esp + 0x4c]
call fcn.1afb22e0
mov eax, dword [0x1b0300c8]
test eax, eax
je 0x1afd8e2d
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1afd8e2d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1afd8e2d
inc esi
mov dword [esp + 0x24], esi
jmp 0x1afd91ea
mov edx, dword [esp + 0x28]
push edx
inc esi
push 0x1b030040
mov dword [esp + 0x2c], esi
call fcn.1afbcb60
xor eax, eax
and edx, 0x80000000
or eax, edx
je 0x1afd8e6d
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push 0x1b030040
call fcn.1afbf2b0
jmp 0x1afd8e8b
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
push 0x1b030040
call fcn.1afbf1c0
mov eax, dword [0x1b030ed4]
test eax, eax
je 0x1afd8ec6
mov ecx, 0x1b030f28
call fcn.1afbb7d0
push eax
push 0x1b030040
call fcn.1afc94f0
test eax, eax
je 0x1afd8ec6
mov ecx, 0x1b030f28
call fcn.1afbb7d0
push eax
push 0x1b030040
call fcn.1afc64d0
test eax, eax
jne 0x1afd8f0f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebp
push edi
push ebx
push edx
push eax
push ecx
push 0x1b030040
call fcn.1afc79b0
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x1afd9203
push 1
push ebp
push edi
push ebx
push 0x1b030040
call fcn.1afc7860
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x1afd9203
call fcn.1afcf390
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
push ecx
push 0x1b030040
call fcn.1afbecf0
mov ecx, dword [esp + 0xf0]
test ecx, ecx
mov esi, dword [esp + 0x3c]
je 0x1afd8f56
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1afd8f56
mov eax, esi
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x38]
cmp eax, ecx
jle 0x1afd925e
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x1afd8fad
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1afd8fa9
cmp esi, eax
je 0x1afd8fad
mov eax, dword [esp + 0x28]
push eax
push 0x1b030040
call fcn.1afbeeb0
push 0x1b030040
mov esi, eax
mov edi, edx
call fcn.1afc0d90
cmp esi, eax
jne 0x1afd8f96
cmp edi, edx
je 0x1afd925e
push 0
push 0
push 0x1b030040
call fcn.1afc5990
jmp 0x1afd925e
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x1afd8fe7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 1
push edx
push eax
push ecx
push 0x1b030040
call fcn.1afc7860
fild dword [esp + 0xf4]
fcompp
fnstsw ax
test ah, 1
je 0x1afd925e
mov eax, dword [0x1b030104]
test eax, eax
je 0x1afd9074
cmp dword [esp + 0x2c], 4
jge 0x1afd9074
mov eax, dword [esp + 0x28]
push 0x14
lea edx, [esp + 0xa4]
push edx
push eax
push 0x1b030040
call fcn.1afbf450
lea ecx, [esp + 0xa0]
push 0x1b01c7e4
push ecx
call fcn.1affc6ef
add esp, 8
test eax, eax
jne 0x1afd904a
lea edx, [esp + 0xa0]
push 0x1b01c7d8
push edx
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd9074
mov eax, dword [esp + 0x10]
mov ecx, dword [0x1b03018c]
push eax
push ebp
push edi
push ebx
push 0
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
call fcn.1afcfb80
inc dword [esp + 0x2c]
jmp 0x1afd91ea
mov eax, dword [0x1b0300e0]
test eax, eax
je 0x1afd90ca
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 1
push edx
push eax
push ecx
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300e4]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd90ca
mov esi, dword [esp + 0x10]
mov edx, dword [0x1b030180]
push esi
push ebp
push edi
push ebx
push 0
push edx
push 0x1b030040
call fcn.1afcd140
push eax
call fcn.1afcfb80
jmp 0x1afd90ce
mov esi, dword [esp + 0x10]
mov eax, dword [0x1b0300e8]
test eax, eax
je 0x1afd911d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push eax
push ecx
push edx
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300ec]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd911d
mov eax, dword [0x1b030184]
push esi
push ebp
push edi
push ebx
push 0
push eax
push 0x1b030040
call fcn.1afcd140
push eax
call fcn.1afcfb80
mov eax, dword [0x1b0300f0]
test eax, eax
je 0x1afd916d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 1
push ecx
push edx
push eax
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300f4]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd916d
mov ecx, dword [0x1b030188]
push esi
push ebp
push edi
push ebx
push 0
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
call fcn.1afcfb80
mov edx, dword [esp + 0x28]
push 0
push edx
call fcn.1afd0500
test eax, eax
jne 0x1afd91b8
lea eax, [esp + 0x78]
push 0x1b01c6b4
push eax
call fcn.1affbdd3
add esp, 8
test eax, eax
push esi
push ebp
push edi
push ebx
push 0
jne 0x1afd91a0
call fcn.1afd0100
jmp 0x1afd91b8
lea ecx, [esp + 0x8c]
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
call fcn.1afcfb80
mov eax, dword [0x1b030168]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x1afd91ea
lea edx, [esp + 0x78]
push edx
push eax
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd91ea
sub eax, dword [0x1b030168]
sar eax, 1
test eax, eax
jne 0x1afd91ea
mov dword [esp + 0x20], 1
push 0x64
push 0x1b030040
call fcn.1afbc820
mov eax, dword [0x1b03004c]
test eax, eax
jne 0x1afd8cd0
mov ecx, dword [0x1b030e30]
xor eax, eax
cmp ecx, eax
mov dword [0x1b03015c], eax
push eax
je 0x1afd9242
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push edi
push ebx
mov dword [0x1b030e30], eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.1afd0d60
mov dword [0x1b030e30], 1
jmp 0x1afd925e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push ebp
push edi
push ebx
push eax
push ecx
push edx
call fcn.1afd0d60
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xbc]
pop ebx
call fcn.1affbb2d
add esp, 0xc8
ret 0x20