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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666848
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x70ab0c]
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 - 0x90], esi
push 0x6b1258
push str.test.txt
call fcn.00610579
mov edx, dword [esi + 4]
add esp, 8
mov dword [ebp - 0x98], eax
mov edi, dword [edx]
cmp edi, edx
je 0x4be0b5
nop word [eax + eax]
push 0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push 0x6afcce
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004435c0
lea edx, [edi + 0x24]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x4bd8ca
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd8d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
cmp dword [edi + 0x68], 0x10
lea ecx, [edi + 0x54]
jb 0x4bd91c
mov ecx, dword [edi + 0x54]
push dword [edi + 0x64]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 0x84]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bd96e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4bd962
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x70]
push eax
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 0x84]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4bd9b9
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x4bd9ad
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 0x84]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x4bda04
cmp dword [esi + 0x44], 0x10
lea ecx, [esi + 0x30]
jb 0x4bd9f8
mov ecx, dword [esi + 0x30]
push dword [esi + 0x40]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 0x84]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jbe 0x4bda4f
cmp dword [esi + 0x5c], 0x10
lea ecx, [esi + 0x48]
jb 0x4bda43
mov ecx, dword [esi + 0x48]
push dword [esi + 0x58]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov edx, dword [ebp - 0x90]
mov ecx, 1
mov dword [ebp - 0x94], ecx
mov eax, dword [edx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x4bdb2b
nop dword [eax]
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4bdadd
test ecx, ecx
je 0x4bda9b
mov dword [ebp - 0x94], 0
jmp 0x4bdaaa
push 1
push 0x6c24d8
lea ecx, [ebp - 0x70]
call fcn.004452c0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4bdab5
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x8c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdac0
sub ecx, dword [ebp - 0x8c]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov edx, dword [ebp - 0x90]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4bdb04
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4bdb00
nop
cmp esi, dword [eax + 8]
jne 0x4bdb00
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4bdaf0
mov esi, eax
jmp 0x4bdb1c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4bdb1c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4bdb10
mov ecx, dword [ebp - 0x94]
cmp esi, dword [edx + 0x2c]
jne 0x4bda80
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov edx, dword [ebp - 0x90]
mov ecx, 1
mov dword [ebp - 0x94], ecx
mov eax, dword [edx + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x4bdc0b
nop dword [eax + eax]
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4bdbbd
test ecx, ecx
je 0x4bdb7b
mov dword [ebp - 0x94], 0
jmp 0x4bdb8a
push 1
push 0x6c24d8
lea ecx, [ebp - 0x70]
call fcn.004452c0
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4bdb95
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x8c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdba0
sub ecx, dword [ebp - 0x8c]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov edx, dword [ebp - 0x90]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4bdbe4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4bdbe0
nop
cmp esi, dword [eax + 8]
jne 0x4bdbe0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4bdbd0
mov esi, eax
jmp 0x4bdbfc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4bdbfc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4bdbf0
mov ecx, dword [ebp - 0x94]
cmp esi, dword [edx + 0x34]
jne 0x4bdb60
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
lea eax, [edi + 0x3c]
push eax
lea ecx, [ebp - 0x88]
call fcn.004530f0
push dword [ebp - 0x8c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0x10
mov esi, dword [ebp - 0x78]
mov edx, esi
cmovae ecx, dword [ebp - 0x88]
push 1
push ecx
push dword [edi + 0x4c]
call fcn.004c5400
add esp, 0x10
test eax, eax
jle 0x4bdcf9
mov edx, esi
mov dword [ebp - 0x2c], 0
sub edx, eax
mov dword [ebp - 0x1c], 0
lea ecx, [eax + 1]
mov dword [ebp - 0x18], 0xf
add edx, 0xfffffffb
cmp esi, ecx
jb 0x4be0de
sub esi, ecx
lea eax, [ebp - 0x88]
cmp esi, edx
cmovb edx, esi
cmp dword [ebp - 0x74], 0x10
push edx
cmovae eax, dword [ebp - 0x88]
add eax, ecx
lea ecx, [ebp - 0x2c]
push eax
call fcn.004435c0
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4bdce1
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bdcd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be0d9
push edx
push ecx
call fcn.005c794c
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x78], xmm0
mov esi, dword [ebp - 0x78]
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push esi
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push eax
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
movzx eax, word [edi + 0x150]
push eax
push 0x6c2934
lea eax, [ebp - 0x58]
push 0x21
push eax
call fcn.00455f00
lea ecx, [ebp - 0x58]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdd44
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4bdda6
push eax
push 0x6c2934
lea eax, [ebp - 0x34]
push 0x21
push eax
call fcn.00455f00
lea ecx, [ebp - 0x34]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdd90
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
mov esi, dword [edi + 0x90]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bde46
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4bdde0
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x70]
push eax
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x2c], 0x10
lea ecx, [eax + 0x18]
jb 0x4bde0d
mov ecx, dword [eax + 0x18]
push dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x44], 0x10
lea ecx, [eax + 0x30]
jb 0x4bde3a
mov ecx, dword [eax + 0x30]
push dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
mov esi, dword [edi + 0x90]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4bdef1
cmp dword [esi + 0x5c], 0x10
lea ecx, [esi + 0x48]
jb 0x4bde85
mov ecx, dword [esi + 0x48]
push dword [esi + 0x58]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x74], 0x10
lea ecx, [eax + 0x60]
jb 0x4bdeb2
mov ecx, dword [eax + 0x60]
push dword [eax + 0x70]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x8c], 0x10
lea ecx, [eax + 0x78]
jb 0x4bdee2
mov ecx, dword [eax + 0x78]
push dword [eax + 0x88]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
mov esi, dword [edi + 0x90]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x4bdfbe
cmp dword [esi + 0xa4], 0x10
lea ecx, [esi + 0x90]
jb 0x4bdf3d
mov ecx, dword [esi + 0x90]
push dword [esi + 0xa0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0xbc], 0x10
lea ecx, [eax + 0xa8]
jb 0x4bdf76
mov ecx, dword [eax + 0xa8]
push dword [eax + 0xb8]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
push 1
push 0x6c2930
lea ecx, [ebp - 0x70]
call fcn.004452c0
mov eax, dword [edi + 0x90]
cmp dword [eax + 0xd4], 0x10
lea ecx, [eax + 0xc0]
jb 0x4bdfaf
mov ecx, dword [eax + 0xc0]
push dword [eax + 0xd0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004452c0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push 0x6c2968
push dword [ebp - 0x98]
call fcn.00454d90
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x4be018
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be00e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be0d9
push edx
push ecx
call fcn.005c794c
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 0x4be064
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be05a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be0d9
push edx
push ecx
call fcn.005c794c
add esp, 8
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x4be08a
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4be086
cmp edi, dword [eax + 8]
jne 0x4be086
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4be076
mov edi, eax
jmp 0x4be0a0
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x4be0a0
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4be094
mov esi, dword [ebp - 0x90]
cmp edi, dword [esi + 4]
jne 0x4bd890
mov eax, dword [ebp - 0x98]
push eax
call fcn.00610889
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.005c791b
mov esp, ebp
pop ebp
ret
call fcn.0060cbd2
call fcn.004701c0
int3