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

Disassembly:
push 0xffffffffffffffff
push 0x101672c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x94]
mov ecx, edi
call fcn.100320b0
xor ebx, ebx
push 7
push str.Version
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.10003750
mov eax, dword [ebp]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x94], ebx
call eax
cmp dword [esp + 0x34], 8
mov esi, eax
mov dword [esp + 0x8c], 0xffffffff
jb 0x1003e111
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100bbe20
add esp, 4
cmp esi, ebx
jne 0x1003e243
mov edx, dword [esp + 0x3c]
push edx
push 1
mov ecx, edi
call fcn.10031c40
push 0xb
push str.Function_ID
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.10003750
mov eax, dword [ebp]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x94], 1
call eax
cmp dword [esp + 0x34], 8
mov esi, eax
mov dword [esp + 0x8c], 0xffffffff
jb 0x1003e188
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100bbe20
add esp, 4
cmp esi, ebx
jne 0x1003e243
mov eax, dword [esp + 0x3c]
cmp al, 6
mov byte [esp + 0x17], al
je 0x1003e1a4
cmp al, 7
jne 0x1003e3ba
push eax
push 1
mov ecx, edi
call fcn.10031c40
mov edx, dword [edi + 0x14]
push ebx
push 1
mov ecx, edi
mov dword [esp + 0x4c], edx
call fcn.10031c40
push ebx
push 1
mov ecx, edi
call fcn.10031c40
push ebx
push 1
mov ecx, edi
call fcn.10031c40
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
push str.Flags
lea ecx, [esp + 0x20]
mov dword [esp + 0x90], 2
call fcn.10003950
mov eax, dword [ebp]
mov eax, dword [eax + 0x38]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov byte [esp + 0x94], 3
call eax
cmp dword [esp + 0x34], 8
mov esi, eax
mov byte [esp + 0x8c], 2
jb 0x1003e236
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100bbe20
add esp, 4
cmp esi, ebx
je 0x1003e24a
lea ecx, [esp + 0x64]
call fcn.100031d0
mov eax, esi
jmp 0x1003e3fe
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.10008ce0
push str.Next_Extension_Offset
lea ecx, [esp + 0x20]
call fcn.10003950
mov eax, dword [ebp]
mov eax, dword [eax + 0x38]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov byte [esp + 0x94], 4
call eax
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x8c], 2
call fcn.10003250
cmp esi, ebx
lea ecx, [esp + 0x64]
jne 0x1003e23e
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, edi
call fcn.10008ce0
push 0x101827b4
lea ecx, [esp + 0x20]
call fcn.10003950
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
mov byte [esp + 0x94], 5
call edx
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x8c], 2
call fcn.10003250
cmp esi, ebx
jne 0x1003e23a
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.10008ce0
push str.Language_Tag
lea ecx, [esp + 0x4c]
call fcn.10003950
lea ecx, [esp + 0x48]
push ecx
lea esi, [esp + 0x68]
mov ecx, ebp
mov byte [esp + 0x90], 6
call fcn.1003c7d0
add esp, 4
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x8c], 2
call fcn.10003250
cmp esi, ebx
jne 0x1003e23a
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.10008ce0
cmp byte [esp + 0x17], 6
jne 0x1003e3a6
mov dword [esp + 0x18], 0x101df770
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x18]
push eax
lea esi, [esp + 0x68]
mov ecx, ebp
call fcn.1003c7d0
mov esi, eax
add esp, 4
cmp esi, ebx
lea ecx, [esp + 0x64]
jne 0x1003e23e
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, edi
call fcn.10008ce0
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], 0x20
add eax, 0x20
cmp eax, 0xa0
mov dword [esp + 0x38], eax
jb 0x1003e363
mov ebx, dword [edi + 0x14]
cmp ebx, 0xffffff
jbe 0x1003e3c1
lea ecx, [esp + 0x64]
call fcn.100031d0
mov eax, reloc.WS2_32.dll_closesocket
jmp 0x1003e3fe
mov esi, dword [esp + 0x44]
push esi
mov ecx, edi
call fcn.10008180
mov edx, ebx
shr edx, 0x10
mov byte [eax], dl
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.10008180
mov ecx, ebx
shr ecx, 8
mov byte [eax], cl
add esi, 2
push esi
mov ecx, edi
call fcn.10008180
lea ecx, [esp + 0x64]
mov byte [eax], bl
call fcn.100031d0
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100bc9af
add esp, 0x7c
ret 0x10