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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b838
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x94], esi
mov ecx, 0x7527f3
call fcn.00627a20
push 0x66e358
push str.test.txt
call fcn.005ea0cb
mov ecx, dword [esi + 4]
add esp, 8
mov dword [ebp - 0x98], eax
mov edi, dword [ecx]
cmp edi, ecx
je 0x4b0621
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
lea edx, [edi + 0x24]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x4afdbb
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4afdc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
cmp dword [edi + 0x68], 0x10
lea ecx, [edi + 0x54]
jb 0x4afe0c
mov ecx, dword [edi + 0x54]
push dword [edi + 0x64]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x84]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x4afe58
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x4afe4c
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x70]
push eax
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x84]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x4afe9c
cmp dword [ecx + 0x2c], 0x10
lea eax, [ecx + 0x18]
mov ecx, eax
jb 0x4afe90
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x84]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 2
jbe 0x4afee0
cmp dword [ecx + 0x44], 0x10
lea eax, [ecx + 0x30]
mov ecx, eax
jb 0x4afed4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x84]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 3
jbe 0x4aff24
cmp dword [ecx + 0x5c], 0x10
lea eax, [ecx + 0x48]
mov ecx, eax
jb 0x4aff18
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov edx, dword [ebp - 0x94]
mov ecx, 1
mov dword [ebp - 0x8c], ecx
mov eax, dword [edx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x4afffb
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4affae
test ecx, ecx
je 0x4aff6c
mov dword [ebp - 0x8c], 0
jmp 0x4aff7b
push 1
push 0x67c3e4
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4aff86
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x90], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aff91
sub ecx, dword [ebp - 0x90]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov edx, dword [ebp - 0x94]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4affd4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4affd0
cmp esi, dword [eax + 8]
jne 0x4affd0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4affc0
mov esi, eax
jmp 0x4affec
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4affec
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4affe0
mov ecx, dword [ebp - 0x8c]
cmp esi, dword [edx + 0x2c]
jne 0x4aff51
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov edx, dword [ebp - 0x94]
mov ecx, 1
mov dword [ebp - 0x8c], ecx
mov eax, dword [edx + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x4b00db
nop dword [eax + eax]
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4b008d
test ecx, ecx
je 0x4b004b
mov dword [ebp - 0x8c], 0
jmp 0x4b005a
push 1
push 0x67c3e4
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4b0065
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x90], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0070
sub ecx, dword [ebp - 0x90]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov edx, dword [ebp - 0x94]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4b00b4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4b00b0
nop
cmp esi, dword [eax + 8]
jne 0x4b00b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4b00a0
mov esi, eax
jmp 0x4b00cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4b00cc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4b00c0
mov ecx, dword [ebp - 0x8c]
cmp esi, dword [edx + 0x34]
jne 0x4b0030
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
cmp dword [edi + 0x50], 0x10
lea eax, [edi + 0x3c]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
jb 0x4b0122
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
cmp esi, 0x10
jae 0x4b0141
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], esi
mov esi, 0xf
movups xmmword [ebp - 0x88], xmm0
jmp 0x4b01a2
or esi, 0xf
mov eax, closesocket
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x4b0169
push eax
call fcn.0043e350
add esp, 4
mov ecx, eax
jmp 0x4b017c
test eax, eax
je 0x4b017a
push eax
call fcn.005a48da
add esp, 4
mov ecx, eax
jmp 0x4b017c
xor ecx, ecx
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x88], ecx
push eax
push dword [ebp - 0x90]
push ecx
call fcn.005e01a0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
push dword [ebp - 0x98]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
cmp esi, 0x10
mov edx, eax
push 1
cmovae ecx, dword [ebp - 0x88]
push ecx
push dword [edi + 0x4c]
call fcn.004b7820
mov ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x4b0273
mov edx, dword [ebp - 0x78]
lea esi, [ecx + 1]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
cmp edx, esi
jb 0x4b064a
mov eax, edx
sub edx, esi
sub eax, ecx
lea ecx, [eax - 5]
cmp edx, ecx
lea eax, [ebp - 0x88]
cmovb ecx, edx
cmp dword [ebp - 0x74], 0x10
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x2c]
add eax, esi
push eax
call fcn.0043e410
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4b025e
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0254
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0645
push edx
push ecx
call fcn.005a48cc
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x78], xmm0
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push eax
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
movzx eax, word [edi + 0x150]
push eax
push 0x6752d0
lea eax, [ebp - 0x58]
push 0x21
push eax
call fcn.004515d0
lea ecx, [ebp - 0x58]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b02c0
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4b0326
push eax
push 0x6752d0
lea eax, [ebp - 0x34]
push 0x21
push eax
call fcn.004515d0
lea ecx, [ebp - 0x34]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0310
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
sub eax, ecx
sar eax, 3
imul eax, eax, 0x38e38e39
test eax, eax
je 0x4b03c0
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x4b035a
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x70]
push eax
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x4b0387
mov ecx, dword [eax + 0x18]
push dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x44], 0x10
lea ecx, [eax + 0x30]
jb 0x4b03b4
mov ecx, dword [eax + 0x30]
push dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
sub eax, ecx
sar eax, 3
imul eax, eax, 0x38e38e39
cmp eax, 1
jbe 0x4b0464
cmp dword [ecx + 0x5c], 0x10
lea eax, [ecx + 0x48]
mov ecx, eax
jb 0x4b03f8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x74], 0x10
lea ecx, [eax + 0x60]
jb 0x4b0425
mov ecx, dword [eax + 0x60]
push dword [eax + 0x70]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x8c], 0x10
lea ecx, [eax + 0x78]
jb 0x4b0455
mov ecx, dword [eax + 0x78]
push dword [eax + 0x88]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
sub eax, ecx
sar eax, 3
imul eax, eax, 0x38e38e39
cmp eax, 2
jbe 0x4b0524
cmp dword [ecx + 0xa4], 0x10
lea eax, [ecx + 0x90]
mov ecx, eax
jb 0x4b04a6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0xbc], 0x10
lea ecx, [eax + 0xa8]
jb 0x4b04dc
mov ecx, dword [eax + 0xa8]
push dword [eax + 0xb8]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
push 1
push 0x67c8a0
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0xd4], 0x10
lea ecx, [eax + 0xc0]
jb 0x4b0515
mov ecx, dword [eax + 0xc0]
push dword [eax + 0xd0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043fbf0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push 0x67c888
push dword [ebp - 0x98]
call fcn.004515a0
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4b057e
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0645
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x4b05ce
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b05c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0645
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x4b05f4
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4b05f0
cmp edi, dword [eax + 8]
jne 0x4b05f0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4b05e0
mov edi, eax
jmp 0x4b060c
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x4b060c
nop
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4b0600
mov esi, dword [ebp - 0x94]
cmp edi, dword [esi + 4]
jne 0x4afd90
mov eax, dword [ebp - 0x98]
push eax
call fcn.005ea536
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
call fcn.005e9e92
call fcn.004875f0
int3