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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8ac
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
push esi
push edi
push 0x800
xor edi, edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0xb4]
mov dword [esp + 0x18], edx
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
push 0x50
lea eax, [esp + 0x28]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__localtime32_s]
xor edx, edx
lea ecx, [esp + 0x88]
add esp, 0x20
test eax, eax
cmovne ecx, edx
test ecx, ecx
je 0x10030394
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__gmtime32_s]
pop ecx
pop ecx
xor ecx, ecx
lea ebx, [esp + 0x8c]
test eax, eax
cmovne ebx, ecx
test ebx, ebx
je 0x10030175
lea edx, [esp + 0x68]
lea ecx, [esp + 0x8c]
call fcn.1003003e
mov edi, eax
cmp dword [esp + 0x88], 0
je 0x10030185
add edi, 0xe10
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x14]
lea esi, [esp + 0xb0]
call fcn.1002fe9e
mov dword [esp + 0xb0], eax
jmp 0x100301c5
add esi, 8
lea eax, [esp + 0x8a8]
cmp esi, eax
ja 0x10030394
lea edx, [esi + 4]
lea ecx, [esp + 0x14]
call fcn.1002fe9e
mov dword [esi], eax
test eax, eax
jne 0x100301a5
lea eax, [esp + 0xb0]
mov dword [esp + 0x18], eax
cmp eax, esi
jae 0x100301ef
lea ecx, [esp + 0x18]
call fcn.1002fa8a
test eax, eax
je 0x10030394
cmp dword [esp + 0x18], esi
jb 0x100301d8
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x10030205
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], 2
jmp 0x10030209
mov edi, dword [esp + 0x38]
test ecx, ecx
je 0x10030259
test ebx, ebx
je 0x10030259
sub dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__gmtime32_s]
pop ecx
pop ecx
xor ecx, ecx
lea esi, [esp + 0x8c]
test eax, eax
cmovne esi, ecx
test esi, esi
je 0x10030245
push 9
pop ecx
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
add esi, edi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], esi
jmp 0x1003025d
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10030272
mov eax, dword [esp + 0x7c]
add eax, 0x76c
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x10030283
mov eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1003029d
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
jmp 0x100302a9
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], 1
jg 0x10030394
cmp ecx, 1
jg 0x10030394
xor ecx, ecx
inc ecx
cmp dword [esp + 0x28], ecx
jg 0x10030394
cmp edx, ecx
jg 0x10030394
cmp ebx, ecx
jg 0x10030394
cmp eax, ecx
jg 0x10030394
test edx, edx
jne 0x10030314
test ebx, ebx
jne 0x10030314
test eax, eax
jne 0x10030314
cmp dword [esp + 0x2c], eax
jne 0x10030314
cmp dword [esp + 0x28], eax
jne 0x10030314
cmp dword [esp + 0x34], eax
jne 0x10030340
imul eax, dword [esp + 0x70], 0x3c
add eax, dword [esp + 0x6c]
imul eax, eax, 0x3c
sub esi, eax
sub esi, dword [esp + 0x68]
jmp 0x10030340
push dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
push edi
push dword [esp + 0x54]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x64]
call fcn.1002fb98
mov esi, eax
test esi, esi
js 0x10030394
mov edi, dword [esp + 0x38]
add esi, dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x60]
mov ecx, esi
call fcn.1002fe0c
add esi, eax
cmp dword [esp + 0x28], 0
je 0x10030388
cmp dword [esp + 0x1c], 0
jne 0x10030388
cmp dword [esp + 0x20], 0
jne 0x10030388
cmp dword [esp + 0x24], 0
jne 0x10030388
push dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1002fd8d
add esi, eax
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
mov eax, esi
jmp 0x10030397
or eax, 0xffffffff
mov ecx, dword [esp + 0x8b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret