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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x301749ff
cmp dword [eax + 0x78], 3
jne 0x301749ff
mov cl, byte [eax + 0x38]
test cl, cl
jns 0x301749ff
mov cl, byte [eax + 0x7e]
cmp cl, 0xa
jne 0x301747a4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x301747bd
cmp cl, 0x30
je 0x301747b2
cmp cl, 0x4b
jne 0x30174892
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edx, 2
cmp ecx, ebx
je 0x30174892
push eax
push edx
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], SysStringLen
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], bl
call fcn.300dfc60
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
inc eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x88], bl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx edi, dl
push edi
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x34]
call fcn.300e19a0
mov eax, dword [esi + 0x10]
mov byte [esp + edi + 0x88], bl
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x14]
call fcn.300df8d0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x14]
call fcn.301d5acf
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.301c2ff4
mov edi, dword [ebp + 8]
push eax
lea ecx, [edi + 0x1c]
call fcn.300d6cf0
lea ecx, [esp + 0x20]
call fcn.301d690d
jmp 0x30174895
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x54]
call fcn.300df8d0
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x38]
and eax, 3
dec eax
je 0x301748d4
dec eax
je 0x301748cd
dec eax
lea ecx, [esp + 0x50]
je 0x301748c6
push 0x3029b79c
jmp 0x301748dd
push 0x3029b790
jmp 0x301748dd
push 0x3029acf4
jmp 0x301748d9
push 0x3029acfc
lea ecx, [esp + 0x54]
call fcn.301d5acf
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x68]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.301c2ff4
lea edx, [edi + 0x24]
mov ecx, edx
push eax
and ecx, 0xfffff000
mov ecx, dword [ecx]
push edx
push edx
mov dword [esp + 0x18], ecx
call fcn.300184c0
mov ecx, dword [esp + 0x14]
push eax
call fcn.3020a1b0
cmp dword [edi + 0x1c], ebx
je 0x30174987
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.300df8d0
mov edx, dword [edi + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.301d5e86
push 0x30294ff8
lea ecx, [esp + 0x14]
call fcn.301d5acf
mov eax, dword [edi + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.301d5e86
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.301c2ff4
push eax
lea ecx, [edi + 0x18]
call fcn.300d6cf0
lea ecx, [esp + 0x20]
call fcn.301d690d
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x70]
call fcn.300df8d0
push 0x302a4f50
lea ecx, [esp + 0x70]
call fcn.301d5acf
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [ecx + 0x10]
push edx
push eax
call fcn.301c2ff4
lea ecx, [edi + 0x20]
mov edx, ecx
push eax
and edx, 0xfffff000
mov esi, dword [edx]
push ecx
push ecx
mov ecx, esi
call fcn.300184c0
push eax
mov ecx, esi
call fcn.3020a1b0
lea ecx, [esp + 0x7c]
call fcn.301d690d
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], 0x3029b744
call fcn.301d690d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8