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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e4
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x3e0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, 0x4a
lea esi, [ebp + 0xc]
lea edi, [esp + 0x218]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x334]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jne 0x100273d4
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.100236d0
test al, al
jne 0x100273ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x101a
mov esi, dword [esp + 0x18]
push str.RegByWan::ReBuildTimeInfo:__CRT:_d_Error_Code:_d_r_n
add esi, 0x1f0
call fcn.10028b30
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.1002b6af
mov esp, ebp
pop ebp
ret 0x12c
mov ecx, ebx
call fcn.10023320
test al, al
jne 0x100273ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1022
jmp 0x100273a4
push 0x1ac
lea edx, [esp + 0x70]
push edi
push edx
mov dword [esp + 0x74], edi
call fcn.1002fb20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x16]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16], 0
call fcn.100222e0
test al, al
jne 0x10027435
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102d
jmp 0x100273a4
mov ecx, dword [esp + 0xa2]
mov edx, dword [esp + 0x9a]
xor eax, eax
mov dword [esp + 0x3cd], eax
mov dword [esp + 0x3d1], eax
mov dword [esp + 0x3d5], eax
mov dword [esp + 0x3d9], eax
mov dword [esp + 0x3dd], eax
mov dword [esp + 0x3e1], eax
mov dword [esp + 0x3e5], eax
mov word [esp + 0x3e9], ax
mov byte [esp + 0x3eb], al
mov eax, dword [esp + 0x9e]
mov dword [esp + 0x3d0], eax
mov eax, dword [esp + 0xaa]
mov dword [esp + 0x3d4], ecx
mov cx, word [esp + 0xae]
mov dword [esp + 0x3cc], edx
mov edx, dword [esp + 0xa6]
mov dword [esp + 0x3dc], eax
mov word [esp + 0x3e0], cx
mov dword [esp + 0x3d8], edx
lea ecx, [esp + 0x3cc]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100274f6
test dl, dl
je 0x100274f2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100274f6
add eax, 2
add ecx, 2
test dl, dl
jne 0x100274d6
xor eax, eax
jmp 0x100274fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10027510
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1036
jmp 0x100273a4
mov eax, dword [esp + 0x220]
mov edx, dword [esp + 0x21c]
mov ebx, dword [esp + 0x218]
mov dword [esp + 0xc6], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 0x1de], eax
xor eax, eax
mov dword [esp + 0xc2], edx
mov edx, dword [esp + 0x228]
mov dword [esp + 0xce], edx
mov edx, dword [esp + 0x330]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x224]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x1d6], edx
mov eax, 0xd1b71759
mul ebx
shr edx, 0xd
lea eax, [edx - 0x76c]
imul edx, edx, 0x2710
mov dword [esp + 0xca], ecx
mov ecx, dword [esp + 0x32c]
mov dword [esp + 0x1d2], ecx
mov dword [esp + 0x1da], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0xbe], ebx
sub ebx, edx
xor edx, edx
mov ecx, 0x20
lea esi, [esp + 0x2ac]
lea edi, [esp + 0x152]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x22c]
lea edi, [esp + 0xd2]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x64
mov eax, ebx
div esi
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x21c]
add eax, 0xffffffff
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edx
mov eax, 0xd1b71759
mul ecx
shr edx, 0xd
lea eax, [edx - 0x76c]
imul edx, edx, 0x2710
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, edx
xor edx, edx
mov ecx, esi
div ecx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x44]
add eax, 0xffffffff
push edx
mov dword [esp + 0x34], eax
call fcn.1002c68e
add esp, 4
mov esi, eax
mov edi, edx
lea eax, [esp + 0x20]
push eax
call fcn.1002c68e
add esp, 4
sub esi, eax
sbb edi, edx
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.1002c69b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], eax
add esp, 4
sub eax, esi
mov dword [esp + 0x70], ecx
sbb ecx, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea ecx, [ebx + 0x52]
lea eax, [esp + 0x68]
call fcn.1001fa60
mov dword [esp + 0x68], eax
mov ecx, 0x15e
lea eax, [esp + 0xba]
call fcn.1001fa60
push 0x1ac
lea edx, [esp + 0x220]
push ebx
push edx
mov dword [esp + 0xc6], eax
mov dword [esp + 0x224], ebx
call fcn.1002fb20
sub esp, 0x1a4
mov edi, esp
lea eax, [esp + 0x3c8]
mov ecx, 0x6c
lea esi, [esp + 0x218]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1001f680
mov ebx, dword [esp + 0x10]
sub esp, 0x1b0
mov edi, esp
mov ecx, 0x6c
lea esi, [esp + 0x3c8]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.10020c10
sub esp, 0x1b0
mov edi, esp
mov ecx, 0x6c
lea esi, [esp + 0x3c8]
push ebx
mov byte [esp + 0x1c2], al
rep movsd dword es:[edi], dword [esi]
call fcn.10020ed0
sub esp, 0x1b0
mov edi, esp
mov ecx, 0x6c
lea esi, [esp + 0x3c8]
push ebx
mov byte [esp + 0x1c3], al
rep movsd dword es:[edi], dword [esi]
call fcn.10021a50
cmp byte [esp + 0xe], 0
jne 0x1002779d
cmp byte [esp + 0xf], 0
jne 0x1002779d
test al, al
je 0x100273bb
cmp dword [esp + 0x1da], 0
mov dword [esp + 0x14], 0
je 0x100277bd
lea ecx, [esp + 0x9a]
call fcn.10023320
jmp 0x100277ce
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x9e]
call fcn.100236d0
test al, al
je 0x100277ee
sub esp, 0x1b0
mov edi, esp
mov ecx, 0x6c
lea esi, [esp + 0x218]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.10025bc0
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.1002b6af
mov esp, ebp
pop ebp
ret 0x12c