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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1dc
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x190], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x188], eax
mov eax, dword [edi + 0xc]
mov dword [esp], edi
mov dword [ebp - 0x184], eax
call fcn.005a62a0
mov byte [ebp - 0x1ac], 1
sub esp, 4
cmp eax, 0x3c
mov esi, eax
je 0x539240
cmp esi, 0xa1
je 0x539184
mov eax, dword [ebx + 0x74]
lea ecx, [ebp - 0x190]
mov edx, dword [eax]
mov edx, dword [edx + 0x78]
mov dword [esp], eax
mov dword [esp + 0x10], 0x6e03dd
mov dword [esp + 0xc], str.include
mov dword [esp + 8], str.must_be_followed_by_a_header_name
mov dword [esp + 4], ecx
call edx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea eax, [ebp - 0xcc]
mov dword [esp + 4], eax
lea eax, [edi + 0x20]
mov dword [esp], eax
lea ecx, [ebp - 0x1a0]
call fcn.00600990
mov ecx, ebx
sub esp, 8
mov dword [esp], edi
call fcn.005a62a0
sub esp, 4
cmp eax, 0xa
mov esi, eax
je 0x5392d3
mov eax, dword [ebx + 0x74]
cmp esi, 0xffffffff
mov ebx, dword [ebp - 0x1a0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x6e0666
mov dword [esp + 0xc], str.include
je 0x539212
mov dword [esp + 8], str.extra_content_after_header_name:
mov dword [esp + 4], edi
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x1a0]
mov eax, 0xffffffff
lock xadd dword [ecx - 4], eax
test eax, eax
jle 0x539225
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 8], str.expected_newline_after_header_name:
mov dword [esp + 4], edi
mov dword [esp], eax
call ecx
jmp 0x5391f2
lea eax, [ebp - 0xcc]
sub ecx, 0xc
mov dword [esp], eax
call fcn.005ff250
mov eax, esi
sub esp, 4
jmp 0x539208
mov eax, dword [ebx + 0xc0]
cmp dword [ebx + 0xc4], eax
je 0x539430
mov byte [edi + 0x20], 0
xor si, si
mov eax, dword [ebx + 0xc4]
mov ecx, dword [eax - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x3e
je 0x539b8b
cmp eax, 0xffffffff
je 0x539430
add esi, 1
cmp esi, 0x400
mov byte [edi + esi + 0x1f], al
jne 0x539259
xor esi, esi
jmp 0x53929e
cmp eax, 0xffffffff
je 0x539430
mov esi, 1
mov eax, dword [ebx + 0xc4]
mov ecx, dword [eax - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x3e
jne 0x539290
mov eax, esi
mov esi, 0xa1
test al, al
mov byte [edi + 0x420], 0
jne 0x53943a
mov byte [ebp - 0x1ac], 0
jmp 0x539141
xor edx, edx
cmp byte [ebp - 0x1ac], 0
jne 0x5394a0
mov ecx, dword [ebx + 0xd0]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp], edx
call eax
mov ecx, dword [ebx + 0xd0]
mov edi, dword [ebx + 0x100]
sub edi, dword [ebx + 0xf0]
mov eax, dword [ecx]
sar edi, 2
sub edi, 1
sub esp, 4
shl edi, 7
mov edx, dword [eax]
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xf8]
sar eax, 2
add edi, eax
mov eax, dword [ebx + 0xec]
sub eax, dword [ebx + 0xe4]
sar eax, 2
lea eax, [edi + eax + 1]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x104]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [esp], eax
call edx
sub esp, 0xc
test eax, eax
mov edx, eax
je 0x539468
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x539517
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1ac], edx
lea edx, [ebp - 0x180]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
lea ecx, [ebp - 0xcc]
mov dword [esp], eax
mov dword [ebp - 0x1b0], edx
call fcn.006009e0
mov edx, dword [ebp - 0x1ac]
sub esp, 0xc
mov eax, dword [ebx + 0x74]
mov edi, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], edx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x14], edi
mov edi, dword [ebp - 0xcc]
mov dword [esp], eax
mov dword [esp + 0x10], str.for_header_name:__s
mov dword [esp + 0xc], str.include
mov dword [esp + 8], edi
lea edi, [ebp - 0x190]
mov dword [esp + 4], edi
call ecx
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0xcc]
mov edx, 0xffffffff
sub esp, 4
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x5391f2
lea ecx, [eax - 0xc]
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call fcn.005ff250
sub esp, 4
jmp 0x5391f2
mov esi, 0xffffffff
jmp 0x5392c7
mov eax, dword [ebx + 0x74]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x10], 0x6e03dd
mov dword [esp + 0xc], 0x6e03dd
mov dword [esp + 8], str.header_name_too_long
mov dword [esp + 4], edi
mov dword [esp], eax
call ecx
jmp 0x5392c7
lea eax, [ebp - 0x180]
mov dword [esp + 4], eax
lea ecx, [ebp - 0xcc]
mov dword [esp], str.Could_not_process_include_directive
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1b0], eax
call fcn.00600990
mov edx, dword [ebp - 0x1ac]
sub esp, 8
jmp 0x5393a2
mov ecx, dword [ebx + 0xd0]
mov edi, dword [ebx + 0x100]
sub edi, dword [ebx + 0xf0]
mov eax, dword [ecx]
sar edi, 2
sub edi, 1
shl edi, 7
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xf8]
sar eax, 2
add edi, eax
mov eax, dword [ebx + 0xec]
sub eax, dword [ebx + 0xe4]
sar eax, 2
lea eax, [edi + eax + 1]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x104]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [esp], eax
call edx
sub esp, 0xc
test eax, eax
mov edx, eax
je 0x5392e2
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x5392e2
mov eax, dword [edx + 4]
test eax, eax
je 0x539525
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x53953d
mov ecx, dword [ebx + 0xd0]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp], edx
call eax
sub esp, 4
jmp 0x5391f2
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov dword [esp], 0x10
mov edi, eax
lea eax, [ebp - 0x180]
mov ecx, eax
mov dword [ebp - 0x1b0], eax
call fcn.00627020
lea ecx, [ebp - 0xcc]
sub esp, 4
mov dword [esp], 0x10
call fcn.00627020
mov eax, dword [ebp - 0x1b0]
sub esp, 4
mov dword [esp + 4], 0x6e06b1
mov dword [esp], eax
call fcn.00651440
mov edx, edi
movzx edx, dl
mov dword [esp], edx
mov dword [ebp - 0x1b8], edx
mov ecx, eax
call fcn.005fd250
sub esp, 4
mov dword [esp + 4], 0x6e0406
mov dword [esp], eax
call fcn.00651440
mov dword [esp + 4], 0x6e06b8
mov dword [esp], eax
call fcn.00651440
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [edx]
mov edi, dword [ecx - 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.0064a7a0
mov dword [esp + 4], 0x6e06ba
mov dword [esp], eax
call fcn.00651440
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x1ac]
test eax, eax
mov dword [ebp - 0x1bc], edx
je 0x539b9a
lea edx, [ebp - 0x198]
lea ecx, [ebp - 0x1a2]
mov edi, edx
mov dword [esp + 4], ecx
mov ecx, edx
mov dword [esp], eax
mov dword [ebp - 0x1ac], edx
call fcn.00600990
mov ecx, edi
sub esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6e06b8
mov dword [esp], 0
call fcn.005ffd90
mov edi, eax
mov eax, dword [eax]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x19c]
mov dword [esp + 8], eax
mov dword [ebp - 0x1c0], eax
call fcn.005febb0
mov dword [edi], eax
lea eax, [ebp - 0x194]
mov ecx, eax
mov dword [esp + 4], 1
mov dword [esp], 0x6e06b8
mov dword [ebp - 0x1b4], eax
call fcn.005ff710
mov edi, eax
mov eax, dword [eax]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1a1]
mov dword [esp + 8], eax
call fcn.005febb0
mov ecx, 0xffffffff
mov dword [edi], eax
mov eax, dword [ebp - 0x194]
lock xadd dword [eax - 4], ecx
mov edx, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x539b6c
mov eax, dword [ebp - 0x198]
mov ecx, 0xffffffff
lock xadd dword [eax - 4], ecx
test ecx, ecx
jle 0x539b47
mov edi, dword [ebp - 0x1b8]
mov eax, 0x6e03dd
add edi, dword [ebp - 0x188]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1bc], edx
mov dword [ebp - 0x1b8], edi
mov edi, dword [edx + 4]
cmp byte [edi + ecx - 1], 0xa
mov ecx, 0x6e0639
cmovne eax, ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call fcn.00651440
mov dword [esp + 4], 0x6e06b1
mov dword [esp], eax
call fcn.00651440
mov edx, dword [ebp - 0x1b8]
mov dword [esp], edx
mov ecx, eax
call fcn.005fea90
sub esp, 4
mov dword [esp + 4], 0x6e0406
mov dword [esp], eax
call fcn.00651440
mov ecx, dword [ebp - 0x19c]
mov edi, dword [ecx - 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.0064a7a0
mov dword [esp + 4], 0x6e0639
mov dword [esp], eax
call fcn.00651440
mov eax, dword [ebp - 0x19c]
mov ecx, 0xffffffff
lock xadd dword [eax - 4], ecx
mov edx, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x539b22
mov ecx, dword [ebp - 0x1ac]
lea eax, [ebp - 0x17c]
mov dword [esp], eax
mov dword [ebp - 0x1b8], edx
call fcn.005d74f0
mov ecx, dword [ebp - 0x1b4]
lea eax, [ebp - 0xc8]
sub esp, 4
mov dword [esp], eax
call fcn.005d74f0
sub esp, 4
mov dword [esp], 0x88
call fcn.006540e0
mov edi, eax
mov byte [eax + 4], 0
lea ecx, [eax + 0xc]
mov dword [eax + 8], ebx
mov dword [eax], 0x6f1028
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call fcn.00600a50
mov eax, dword [ebp - 0x1b4]
lea ecx, [edi + 0x10]
sub esp, 4
mov dword [esp], eax
call fcn.00600a50
mov edx, dword [ebp - 0x1b8]
lea eax, [edi + 0x3c]
mov dword [ebp - 0x1c4], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x44], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x3c], 0x6f1378
mov dword [edi + 0x14], edx
lea edx, [edi + 0x30]
mov dword [edi + 0x40], 3
sub esp, 4
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov byte [edi + 0x70], 1
mov byte [edi + 0x71], 0
mov dword [esp], 0x30
mov dword [ebp - 0x1bc], edx
call fcn.00654050
mov edx, dword [edi + 0x40]
mov ecx, edx
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x1b8]
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x1ac], eax
mov dword [edi + 0x54], eax
test edx, edx
mov edx, dword [ebp - 0x1bc]
jle 0x539931
mov dword [eax], 0
add eax, 0x10
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
cmp eax, ecx
jne 0x5398d5
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], esi
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x1c8], ebx
lea ecx, [eax*4]
xor eax, eax
mov ebx, dword [edx + eax]
mov dword [esi + eax*4], ebx
add eax, 4
cmp eax, ecx
jne 0x539918
mov esi, dword [ebp - 0x1bc]
mov ebx, dword [ebp - 0x1c8]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x1cc], esi
mov esi, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1bc], eax
shl eax, 4
lea ecx, [esi + eax]
mov eax, dword [edi + 0x58]
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x1c8], ecx
neg eax
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x84], edx
mov edx, dword [edi + 0xc]
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
mov eax, dword [ecx + 4]
mov dword [edi + 0x18], edx
mov edx, dword [edx - 0xc]
mov byte [edi + 0x7c], 0
mov dword [edi + 0x80], ebx
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x24], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x188]
mov dword [edi + 0x78], 0x6f0fa8
mov dword [edi + 0x20], eax
mov eax, dword [eax - 0xc]
mov dword [edi + 0x28], edx
mov edx, dword [ebp - 0x188]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x68], edx
mov edx, dword [ebp - 0x1b8]
sub edx, 1
mov eax, edx
cmp dword [edi + 0x4c], edx
cmovle eax, dword [edi + 0x4c]
shl eax, 4
mov dword [esi + eax + 8], ecx
mov eax, edx
mov ecx, dword [ebp - 0x18c]
cmp dword [edi + 0x4c], edx
cmovle eax, dword [edi + 0x4c]
mov dword [edi + 0x64], ecx
shl eax, 4
cmp edx, dword [ebp - 0x1bc]
mov dword [esi + eax + 4], ecx
mov ecx, dword [ebp - 0x1c8]
mov dword [edi + 0x60], 0
mov esi, dword [ebp - 0x1cc]
jl 0x539af2
mov dword [ecx], 0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x190]
test eax, eax
jne 0x539a33
mov dword [edi + 0x60], ecx
mov eax, dword [ebp - 0x1ac]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x190]
cmp ecx, edx
cmovle edx, ecx
cmp edx, 1
je 0x539b11
mov ecx, dword [ebp - 0x1ac]
cmp edx, 2
mov dword [ecx + 0x10], eax
jne 0x539a66
mov dword [edi + 0x60], eax
mov edx, dword [ebp - 0x1ac]
mov ecx, ebx
mov dword [edx + 0x20], eax
mov dword [esp], edi
call fcn.005a6240
mov eax, dword [ebp - 0x194]
lea ecx, [eax - 0xc]
mov eax, dword [ebp - 0x1c0]
sub esp, 4
mov dword [esp], eax
call fcn.005ff270
mov eax, dword [ebp - 0x198]
lea ecx, [eax - 0xc]
mov eax, dword [ebp - 0x1b4]
sub esp, 4
mov dword [esp], eax
call fcn.005ff270
mov eax, dword [ebx + 0x74]
lea ecx, [ebp - 0xcc]
mov edx, dword [eax + 0x50]
sub esp, 4
mov eax, dword [edx + 4]
mov dword [edx + 0x30], 0
sub eax, 1
cmp dword [edx + 0x10], eax
cmovle eax, dword [edx + 0x10]
shl eax, 4
add eax, dword [edx + 0x18]
mov dword [eax + 0xc], 0
call fcn.006275c0
mov ecx, dword [ebp - 0x1b0]
call fcn.006275c0
jmp 0x5391f2
mov ecx, dword [ebp - 0x1ac]
mov eax, edx
shl eax, 4
mov dword [ecx + eax], 0
mov eax, edx
mov ecx, dword [ebp - 0x190]
jmp 0x539a2c
mov edx, dword [ebp - 0x1ac]
mov dword [edi + 0x60], eax
mov dword [edx + 0x10], eax
jmp 0x539a66
lea ecx, [eax - 0xc]
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov dword [esp], eax
call fcn.005ff250
mov edx, dword [ebp - 0x1b8]
sub esp, 4
jmp 0x5397cc
lea ecx, [eax - 0xc]
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], edx
mov dword [esp], eax
call fcn.005ff250
mov edx, dword [ebp - 0x1bc]
sub esp, 4
jmp 0x539710
lea ecx, [eax - 0xc]
lea eax, [ebp - 0x1a1]
mov dword [esp], eax
call fcn.005ff250
mov edx, dword [ebp - 0x1bc]
sub esp, 4
jmp 0x5396f8
mov byte [edi + esi + 0x20], 0
mov esi, 0xa1
jmp 0x5392c7
lea eax, [ebp - 0x19c]
mov edx, eax
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], edx
mov dword [esp + 0xc], 0x6e06bd
mov dword [esp + 8], 0x20
mov dword [esp + 0x10], eax
sar eax, 0x1f
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x538480
call fcn.005cabd0
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x194]
mov dword [ebp - 0x1b4], eax
jmp 0x539710