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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x1b02d66c]
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0x42], eax
xor ecx, ecx
mov dword [esp + 0x46], eax
mov dword [esp + 0x6a], ecx
mov dword [esp + 0x4a], eax
mov dword [esp + 0x6e], ecx
mov dword [esp + 0x4e], eax
mov dword [esp + 0x72], ecx
mov dword [esp + 0x52], eax
mov dword [esp + 0x76], ecx
mov dword [esp + 0x56], eax
mov dword [esp + 0x7a], ecx
mov dword [esp + 0x5a], eax
mov dword [esp + 0x7e], ecx
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x82], ecx
push ebx
xor ebx, ebx
mov word [esp + 0x6a], ax
cmp dword [0x1b03004c], ebx
mov dword [esp + 0x8a], ecx
mov dword [esp + 0x8e], ecx
mov word [esp + 0x44], bx
mov word [esp + 0x6c], bx
mov word [esp + 0x92], cx
je 0x1afd37f6
push ebp
push esi
push edi
push 0x1b030040
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.1afc5710
test eax, eax
je 0x1afd37db
push ebx
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd37db
cmp dword [0x1b03004c], ebx
je 0x1afd37db
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd37db
push 0x1b030040
call fcn.1afc0430
test eax, eax
je 0x1afd3129
push ebx
lea edx, [esp + 0x50]
push edx
push 0x1b030040
call fcn.1afc04e0
push eax
push 0x1b030040
call fcn.1afc00b0
mov esi, eax
cmp esi, ebx
je 0x1afd3129
xor eax, eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov dword [esp + 0xb6], eax
push 0x14
mov dword [esp + 0xbe], eax
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xc6], eax
push esi
mov dword [esp + 0xce], eax
push 0x1b030040
mov word [esp + 0xb0], bx
mov word [esp + 0xd6], ax
call fcn.1afc6d70
lea edx, [esp + 0xa0]
push 0x1b01ba10
push edx
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd30d9
push 0xf
push 0x1b030040
call fcn.1afc0240
test eax, eax
jne 0x1afd3129
push esi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
jne 0x1afd310b
cmp dword [0x1b03004c], ebx
je 0x1afd310b
push 0x64
push 0x1b030040
call fcn.1afbc820
push esi
push 0x1b030040
call fcn.1afbfce0
test eax, eax
je 0x1afd30e8
mov eax, dword [esp + 0x4c]
push eax
push 0x1b030040
call fcn.1afc69a0
push 0x7d0
push 0x1b030040
call fcn.1afbc820
call fcn.1afd16d0
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd37db
push ebx
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd37db
cmp dword [0x1b03004c], ebx
je 0x1afd37db
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd37db
call fcn.1afcec40
call fcn.1afcf390
cmp dword [0x1b030160], ebx
je 0x1afd31b3
mov esi, dword [0x1b019358]
call esi
sub eax, dword [0x1b030164]
cmp eax, 0xbb8
jbe 0x1afd31b3
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 0x1afd37db
push ebx
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd37db
cmp dword [0x1b03004c], ebx
je 0x1afd37db
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd37db
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x1b030040
call fcn.1afc06f0
fild dword [0x1b02a1bc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp]
push ecx
push edx
push eax
call fcn.1afd2490
fild dword [0x1b02a1bc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp]
push ecx
push edx
push eax
call fcn.1afceca0
fild dword [0x1b02a1bc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
fstp dword [esp]
push ecx
push edx
push eax
call fcn.1afcf470
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd37db
push ebx
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd37db
cmp dword [0x1b03004c], ebx
je 0x1afd37db
push 0x1b030040
call fcn.1afc0e60
test eax, eax
jne 0x1afd37db
push 0x1b030040
call fcn.1afbd8e0
and eax, ebx
and edx, 0x80000000
or eax, edx
je 0x1afd37db
mov eax, 1
mov dword [0x1b03015c], eax
mov dword [0x1b02cb34], eax
mov eax, dword [0x1b03004c]
xor ebp, ebp
cmp eax, ebx
je 0x1afd37d5
jmp 0x1afd32f0
mov ebp, dword [esp + 0x10]
xor ebx, ebx
lea esp, [esp]
push 0x1b030040
call fcn.1afc5710
test eax, eax
je 0x1afd37d5
push ebx
push 0x1b030040
call fcn.1afbd6a0
test eax, eax
je 0x1afd37d5
push 0x1b030040
call fcn.1afbd8e0
mov edi, eax
mov esi, edx
mov ecx, edi
or ecx, esi
je 0x1afd37d5
mov ecx, esi
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x1afd37d5
lea edx, [esp + 0x28]
push edx
push 0x1b030040
call fcn.1afbdcb0
mov ecx, dword [esp + 0x28]
push ecx
push esi
push edi
push eax
push 0x1b030040
call fcn.1afbf720
mov ebx, eax
test ebx, ebx
je 0x1afd33cd
push ebx
push 0x1b030040
call fcn.1afbebc0
test eax, eax
jne 0x1afd33cd
push 0x14
lea edx, [esp + 0x54]
push edx
push ebx
push 0x1b030040
call fcn.1afbf450
lea eax, [esp + 0x50]
push 0x1b01a25c
push eax
call fcn.1affbdd3
add esp, 8
test eax, eax
je 0x1afd33cd
lea ecx, [esp + 0x50]
push 0x1b01a250
push ecx
call fcn.1affbdd3
add esp, 8
test eax, eax
je 0x1afd33cd
lea edx, [esp + 0x50]
push 0x1b01a240
push edx
call fcn.1affbdd3
add esp, 8
test eax, eax
jne 0x1afd37d3
push ebp
push 0x3b
mov ecx, 0x1b030168
call fcn.1afb3b70
mov esi, eax
cmp esi, 0xffffffff
jne 0x1afd3405
test ebp, ebp
je 0x1afd37d3
push 0
push 0x3b
mov ecx, 0x1b030168
mov dword [esp + 0x18], 0
call fcn.1afb3b70
mov ebp, dword [esp + 0x10]
mov esi, eax
mov eax, dword [0x1b0300c8]
test eax, eax
je 0x1afd343b
test ebp, ebp
jne 0x1afd343b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1afd343b
inc esi
push esi
push 0x3b
mov ecx, 0x1b030168
mov dword [esp + 0x18], esi
call fcn.1afb3b70
mov esi, eax
cmp esi, 0xffffffff
je 0x1afd37d3
mov ebp, dword [esp + 0x10]
mov eax, esi
sub eax, ebp
push eax
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x1b030168
call fcn.1afb3f50
mov edx, dword [eax]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.1affb9a2
add esp, 8
lea ecx, [esp + 0x30]
call fcn.1afb22e0
mov eax, dword [0x1b030104]
inc esi
test eax, eax
mov dword [esp + 0x10], esi
je 0x1afd34d1
push 0x14
lea ecx, [esp + 0x54]
push ecx
push ebx
push 0x1b030040
call fcn.1afbf450
lea edx, [esp + 0x50]
push 0x1b01c7e4
push edx
call fcn.1affc6ef
add esp, 8
test eax, eax
jne 0x1afd34b5
lea eax, [esp + 0x50]
push 0x1b01c7d8
push eax
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd34d1
mov ecx, dword [0x1b03018c]
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b0300e0]
test eax, eax
je 0x1afd3517
push 1
push 0
push 0
push 0
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300e4]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd3517
mov edx, dword [0x1b030180]
push edx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b0300e8]
test eax, eax
je 0x1afd355c
push 1
push 0
push 0
push 0
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300ec]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd355c
mov eax, dword [0x1b030184]
push eax
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b0300f0]
test eax, eax
je 0x1afd35a2
push 1
push 0
push 0
push 0
push 0x1b030040
call fcn.1afc7860
fild dword [0x1b0300f4]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1afd35a2
mov ecx, dword [0x1b030188]
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b0300cc]
test eax, eax
je 0x1afd374c
push ebx
push 0x1b030040
mov dword [esp + 0x28], 0
call fcn.1afbcb60
xor eax, eax
and edx, 0x80000000
or eax, edx
je 0x1afd374c
lea edx, [esp + 0x24]
push edx
push 0x1b030040
call fcn.1afbdcb0
mov ebp, eax
test ebp, ebp
je 0x1afd36d1
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jbe 0x1afd36d1
lea esp, [esp]
push edi
push ebp
push 0x1b030040
call fcn.1afbf6b0
mov esi, eax
test esi, esi
je 0x1afd36c4
jmp 0x1afd3620
push esi
push 0x1b030040
call fcn.1afbebc0
test eax, eax
je 0x1afd36ad
push esi
push 0x1b030040
call fcn.1afbf630
test eax, eax
jne 0x1afd36ad
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
push ebx
push 0x1b030040
call fcn.1afbf2b0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
push 0x1b030040
call fcn.1afbf2b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push 0x1b030040
call fcn.1afc79b0
fild dword [0x1b0300cc]
fcompp
fnstsw ax
test ah, 1
jne 0x1afd36ad
inc dword [esp + 0x20]
push 0
push esi
push 0x1b030040
call fcn.1afbf6b0
mov esi, eax
test esi, esi
jne 0x1afd3620
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jb 0x1afd3600
mov eax, dword [esp + 0x20]
cmp eax, dword [0x1b0300d0]
jl 0x1afd374c
mov ecx, dword [0x1b030170]
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov edx, dword [0x1b030174]
push edx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b030178]
push eax
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov ecx, dword [0x1b03017c]
push ecx
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
lea edx, [esp + 0x78]
push 0x1b01c6b4
push edx
call fcn.1affbdd3
add esp, 8
test eax, eax
jne 0x1afd376e
push 0x1b030040
call fcn.1afcad90
jmp 0x1afd3788
lea eax, [esp + 0x78]
push eax
push 0x1b030040
call fcn.1afcd140
push eax
push 0x1b030040
call fcn.1afcce30
mov eax, dword [0x1b030168]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x1afd37ba
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.1affc6ef
add esp, 8
test eax, eax
je 0x1afd37ba
sub eax, dword [0x1b030168]
sar eax, 1
test eax, eax
jne 0x1afd37ba
mov dword [esp + 0x2c], 1
push 0x64
push 0x1b030040
call fcn.1afbc820
mov eax, dword [0x1b03004c]
test eax, eax
jne 0x1afd32e6
xor ebx, ebx
mov dword [0x1b03015c], ebx
push 0x64
push 0x1b030040
call fcn.1afbc820
cmp dword [0x1b03004c], ebx
jne 0x1afd2fb0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop ebx
call fcn.1affbb2d
add esp, 0xbc
ret 4