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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
lea ecx, [eax - 0x12d]
cmp ecx, 0x63
push esi
push edi
ja case.0x301341bc.302
movzx ecx, byte [ecx + 0x30134c43]
jmp dword [ecx*4 + 0x30134bb3]
cmp dword [ebx + 0x1c], 0
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0xc], eax
movsd dword es:[edi], dword [esi]
jne case.0x301341bc.305
lea eax, [ebp - 0xc]
push eax
push dword [0x302ae8d4]
call fcn.3013d0cb
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
neg ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
neg ecx
mov dword [eax + 4], ecx
and dword [ebx + 4], 0
jmp case.0x301341bc.305
mov esi, dword [0x302ad080]
or dword [0x302ad080], 0x400000
mov eax, dword [0x302ae8d4]
mov ebx, dword [ebx + 8]
mov edi, dword [eax + 0xc0]
mov eax, dword [ebx]
shr esi, 0x16
push ebx
and esi, 1
call dword [eax + 0x20]
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
mov ebx, eax
mov eax, dword [edi]
push edi
call dword [eax + pe_nt_image_headers32]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push 1
push ebx
call dword [eax + 0x68]
test eax, eax
je 0x3013427d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 6], 0
je 0x3013427d
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
test eax, eax
je case.0x301341bc.305
push 0
push dword [ebp + 0x10]
call fcn.3012a52e
mov eax, dword [edi]
push ebx
push 1
push edi
call dword [eax + 0x48]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSO.dll_Ordinal_728]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x30134244
shl esi, 0x16
xor esi, dword [0x302ad080]
and esi, 0x400000
xor dword [0x302ad080], esi
jmp case.0x301341bc.305
cmp dword [ebx + 0x18], 4
jne case.0x301341bc.305
mov esi, dword [ebx + 0x10]
xor edi, edi
cmp esi, edi
je case.0x301341bc.305
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0x78]
test eax, eax
je case.0x301341bc.305
cmp dword [ebp - 4], edi
je case.0x301341bc.305
push dword [ebp - 4]
call fcn.30126197
mov dword [ebp + 0x10], eax
cmp word [eax], 0xf
jne case.0x301341bc.305
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x6c]
mov eax, dword [ebp + 8]
cmp dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
jne 0x3013430e
mov eax, dword [eax + 0x164]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc0]
mov ecx, dword [eax]
push edi
lea esi, [ebx + 0x14]
push esi
push eax
call dword [ecx + 0x17c]
test eax, eax
je case.0x301341bc.305
cmp dword [ebp - 4], 0
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
je 0x301341fe
push dword [0x302ae8d4]
call fcn.30105308
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x30134354
test byte [eax + 4], 1
jne 0x3013436a
push edi
push eax
call fcn.3012058d
test eax, eax
je 0x3013436a
push dword [ebp - 4]
mov eax, dword [esi]
push 8
push esi
call dword [eax + 0x3c]
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSO.dll_Ordinal_728]
test eax, eax
mov dword [ebp - 4], eax
jne 0x3013433c
jmp case.0x301341bc.393
push dword [ebx + 0x10]
call fcn.30126197
mov dword [ebp + 0x10], eax
cmp word [eax], 8
je 0x3013439e
cmp dword [eax + 6], 0
je case.0x301341bc.305
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.30128803
mov esi, dword [ebx + 0x18]
mov eax, dword [ebp + 0x10]
and esi, 0xf
cmp dword [eax + 6], 0
je 0x301343fb
push dword [0x302ae8d4]
call fcn.30105308
test eax, eax
je 0x301343fb
mov eax, dword [ebp + 0x10]
test byte [eax + 4], 1
je 0x301343fb
mov eax, dword [eax + 6]
test word [eax + 0x16], 0x200
jne 0x301343fb
test esi, esi
jbe 0x301343fb
cmp esi, 2
jbe 0x301343f9
cmp esi, 4
ja 0x301343fb
mov dword [0x3022cd50], 1
jmp 0x301343fb
xor esi, esi
mov eax, dword [ebx + 0x18]
and eax, 0xfffffff0
or eax, esi
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.3013b616
jmp case.0x301341bc.305
mov eax, dword [ebx + 0x14]
push dword [0x302ae8d4]
mov dword [ebp + 0x10], eax
call fcn.30105308
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 4], eax
jmp case.0x301341bc.305
mov ebx, dword [ebx + 0x10]
push ebx
call fcn.30126197
mov dword [ebp + 0x10], eax
or word [eax + 4], 4
mov eax, dword [ebp + 0x10]
cmp word [eax], 8
jne 0x3013445b
test byte [eax + 0x16], 0x40
je 0x3013445b
or word [eax + 0x16], 0x100
mov eax, dword [ebp + 0x10]
cmp word [eax], 6
jne case.0x301341bc.305
mov eax, dword [0x302ae8d4]
and dword [ebp + 0xc], 0
mov esi, dword [eax + 0xc0]
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push 0x1bb
push ebx
push esi
call dword [eax + 0x130]
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push 0x1fc
push ebx
push esi
call dword [eax + 0x130]
jmp case.0x301341bc.305
push ebx
call fcn.30125a92
jmp case.0x301341bc.305
push ebx
push dword [ebp + 0xc]
mov dword [0x3022ccd8], 1
push dword [ebp + 8]
call fcn.30133ff1
jmp case.0x301341bc.305
test word [0x30209e2c], 0x800
je 0x3013450a
mov ebx, dword [ebx + 0x14]
push ebx
call dword [sym.imp.MSO.dll_Ordinal_804]
lea ecx, [ebp - 4]
push ecx
mov edi, 0x1bb
push edi
mov esi, eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x13c]
xor eax, eax
cmp dword [ebp - 4], eax
lea ecx, [ebp - 4]
sete al
push ecx
push edi
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [esi]
call dword [eax + 0x130]
push 1
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3012882d
lea eax, [ebp - 0x54]
push eax
call fcn.30125985
push 0
call fcn.300a6ce2
jmp case.0x301341bc.305
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x10], eax
push dword [eax + 0xa]
call dword [sym.imp.MSO.dll_Ordinal_804]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.30125a1e
test eax, eax
je case.0x301341bc.305
jmp case.0x301341bc.393
mov eax, dword [ebx + 0x14]
push ebx
push 0x4b
push eax
mov dword [ebp + 0x10], eax
call fcn.30125f91
cmp dword [0x3022cd38], 0
je case.0x301341bc.305
mov eax, dword [ebx + 0x18]
push dword [eax + 0x1c]
push dword [0x3022cd30]
call fcn.3007f8c2
mov dword [0x3022cd30], eax
mov eax, dword [ebx + 0x18]
push dword [eax + 0x20]
push dword [0x3022cd34]
call fcn.3007f8c2
mov dword [0x3022cd34], eax
mov eax, dword [ebx + 0x1c]
push dword [eax + 8]
push dword [0x3022cd28]
call fcn.3007f8c2
mov dword [0x3022cd28], eax
mov eax, dword [ebx + 0x1c]
push dword [eax + 0xc]
push dword [0x3022cd2c]
call fcn.3007f8c2
mov dword [0x3022cd2c], eax
jmp case.0x301341bc.305
push ebx
call fcn.3012f700
jmp case.0x301341bc.305
push ebx
call fcn.30128b39
jmp case.0x301341bc.305
push ebx
call fcn.3012c116
jmp case.0x301341bc.305
call fcn.30149134
test eax, eax
jne 0x301341fe
push 0
call fcn.301490e2
test eax, eax
je case.0x301341bc.305
jmp 0x301341fe
push dword [ebx + 0x10]
call fcn.30126197
movzx esi, byte [ebx + 0x23]
cmp esi, 3
mov dword [ebp + 0x10], eax
je 0x301345ff
cmp esi, 4
je 0x3013465f
cmp esi, 8
jbe case.0x301341bc.305
cmp esi, 0xa
jbe 0x30134662
cmp esi, 0xd
jne case.0x301341bc.305
push dword [0x302ae8d4]
call fcn.30105308
test eax, eax
je 0x30134668
mov eax, dword [ebp + 0x10]
test byte [eax + 4], 1
je 0x30134668
and dword [ebx + 4], 0
cmp esi, 0xa
je case.0x301341bc.305
cmp dword [ebx + 0x1c], 0x87
je case.0x301341bc.305
mov eax, dword [ebx + 0x18]
test eax, eax
mov esi, dword [ebp + 0x10]
je 0x30134687
push eax
call fcn.30126197
mov esi, eax
push dword [ebx + 0x14]
call fcn.30126197
cmp dword [ebx + 4], 0
mov dword [ebp + 0x10], eax
je 0x30134b4b
push esi
push eax
push dword [ebx + 0x24]
call fcn.3013128a
test eax, eax
jne 0x30134b4b
xor eax, eax
inc eax
jmp 0x3013442a
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3012e029
jmp case.0x301341bc.305
push dword [ebx + 0x14]
call fcn.30126197
cmp word [eax], 0xf
je 0x301341fe
xor esi, esi
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3012882d
cmp dword [ebx], 0x178
jne 0x301346ff
test byte [0x302ad080], 0x10
jne 0x30134719
push esi
jmp 0x3013470a
test byte [0x302ad080], 0x10
jne 0x30134719
push 1
push dword [ebx + 0x14]
call fcn.301315d5
test eax, eax
jne 0x30134719
mov dword [ebx + 4], esi
lea eax, [ebp - 0x54]
push eax
call fcn.30125985
jmp case.0x301341bc.305
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3012882d
push dword [ebx + 0x14]
call fcn.30129428
test eax, eax
jne 0x30134719
and dword [ebx + 4], eax
jmp 0x30134719
cmp dword [0x3022bda8], 0
jne case.0x301341bc.305
cmp dword [ebx + 0x10], 0x87
jne 0x30134776
cmp dword [ebx + 0x14], 2
jne 0x30134776
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x48]
mov dword [0x30209e2c], 0x4000
call fcn.30125728
mov dword [0x30209e30], 1
call fcn.3010a6ef
push 6
call fcn.3013fa17
jmp case.0x301341bc.305
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.30101642
cmp dword [ebx + 0x24], 0
je 0x301347d0
push edi
call fcn.300654d2
cmp eax, dword [0x302ae590]
je 0x301347d0
mov dword [ebx + 0x14], 1
test byte [0x3022cf84], 2
je 0x301347fb
call fcn.301410ea
test eax, eax
je 0x301347fb
test byte [0x3022cf84], 2
je 0x301347fb
mov eax, dword [0x3022a248]
push esi
push dword [eax + 0x40]
call fcn.30141538
mov esi, eax
cmp esi, dword [ebp - 0x1c]
jge 0x30134815
mov ecx, dword [0x30229f14]
test ecx, ecx
je 0x30134871
call fcn.300be7a4
cmp dword [eax + 0x20], 0
jg 0x30134871
cmp esi, dword [ebp - 0x14]
mov edi, 0xf9f
jle 0x30134833
mov ecx, dword [0x30229f14]
test ecx, ecx
je 0x30134871
call fcn.300be7a4
cmp dword [eax + 0x24], edi
jl 0x30134871
mov esi, dword [ebp - 8]
cmp esi, dword [ebp - 0x18]
jge 0x30134850
mov ecx, dword [0x30229f14]
test ecx, ecx
je 0x30134871
call fcn.300be7a4
cmp dword [eax + 0x18], 0
jg 0x30134871
cmp esi, dword [ebp - 0x10]
jle case.0x301341bc.305
mov ecx, dword [0x30229f14]
test ecx, ecx
je 0x30134871
call fcn.300be7a4
cmp dword [eax + 0x1c], edi
jge case.0x301341bc.305
mov dword [ebx + 0x10], 1
jmp case.0x301341bc.305
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x10], eax
cmp word [eax], 0x13
jne case.0x301341bc.305
mov esi, dword [ebx + 0x18]
add esi, 4
mov dword [ebp - 4], esi
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.3012882d
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
call fcn.30128aae
lea eax, [ebp - 0x54]
push eax
call fcn.30125985
mov esi, dword [ebp - 4]
push dword [esi + 0x2c]
mov eax, dword [ebp - 0x18]
push dword [esi + 0x28]
mov dword [esi + 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x14], eax
mov dword [ebx + 4], 1
jmp case.0x301341bc.305
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.3012882d
push ebx
call fcn.3012df80
jmp 0x30134719
mov esi, 0x302ad470
mov ecx, esi
call fcn.3013e7d5
test eax, eax
je 0x30134924
mov ecx, esi
call fcn.3013e7d5
and dword [eax + 0x98], 0
push 0
mov ecx, esi
call fcn.3013e7dc
jmp case.0x301341bc.305
push dword [ebx + 0x10]
mov esi, 0x20004
call dword [sym.imp.MSO.dll_Ordinal_804]
mov ecx, dword [eax]
push 0x16
push dword [ebx + 0x10]
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x30134952
add esi, 8
mov eax, dword [ebx + 0x18]
not esi
and eax, esi
dec eax
neg eax
sbb eax, eax
neg eax
jmp 0x3013442a
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov eax, dword [ebp + 0xc]
jne 0x3013497a
mov eax, dword [eax + 0x164]
mov eax, dword [eax + 0x44]
test word [eax + 0x10], 0x200
jne case.0x301341bc.305
push 1
push 1
push eax
call fcn.30133790
jmp case.0x301341bc.305
push 2
push 0
push 0
push 0x2c
call fcn.3012fa8b
jmp case.0x301341bc.305
mov eax, dword [ebx + 0x14]
cmp word [eax], 5
jne case.0x301341bc.305
or dword [ebx + 0x18], 0x80
jmp case.0x301341bc.305
mov eax, dword [ebx + 8]
push dword [ebx + 0x14]
xor edi, edi
mov dword [ebx + 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x90]
mov esi, eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x260]
test eax, eax
jne case.0x301341bc.305
push esi
call fcn.30126197
cmp eax, edi
je 0x30134a71
movzx ecx, word [eax]
cmp cx, 5
jne 0x30134a3b
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x3022ccc8
call fcn.3005996e
jmp case.0x301341bc.393
mov esi, dword [0x302ae854]
movsx edx, cx
imul edx, edx, 0x14
test word [edx + esi + 0x10], 0x8000
jne 0x30134a71
cmp cx, di
je 0x30134a71
cmp cx, 8
je 0x30134a71
cmp cx, 0x1d
je 0x30134a71
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x4c]
jmp case.0x301341bc.393
mov ecx, dword [eax + 6]
cmp ecx, edi
je case.0x301341bc.393
cmp word [ecx + 0x10], di
je case.0x301341bc.393
cmp dword [ecx + 0x12], edi
je case.0x301341bc.393
movsx eax, word [ecx + 0x10]
mov ecx, dword [ecx + 0x12]
shr eax, 3
dec eax
cmp eax, edi
jle case.0x301341bc.393
lea edi, [ecx + 2]
mov dword [ebp - 4], eax
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
mov ax, word [edi]
add ax, ax
movsx eax, ax
sar eax, 1
push eax
call fcn.300f3fcb
push eax
lea ecx, [ebp - 0xc]
call fcn.30028622
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
call fcn.300288bb
test eax, eax
je 0x30134b01
cmp dword [ebp + 0xc], 0x40
je 0x30134af3
cmp dword [ebp + 0xc], 0x4d
je 0x30134af3
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.30078797
jmp 0x30134b0d
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
call fcn.30078898
jmp 0x30134b0d
push esi
lea ecx, [ebp - 0xc]
call fcn.30028954
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
push dword [ebp + 8]
add esi, 0x24
call fcn.3007ca4b
push eax
push dword [ebx + 0x10]
call dword [esi]
add edi, 8
dec dword [ebp - 4]
jne 0x30134aa8
jmp case.0x301341bc.393
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x301346ae
cmp dword [eax], 0
je 0x301346ae
xor eax, eax
jmp 0x3013442a
push 0x80
call fcn.300bba6a
jmp case.0x301341bc.305
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov eax, dword [ebp + 0xc]
jne 0x30134b73
mov eax, dword [eax + 0x164]
mov eax, dword [eax + 0x44]
push eax
call fcn.301053a3
jmp 0x3013442a
mov ebx, dword [ebx + 0xc]
movzx edx, word [ebx]
mov ecx, eax
sub ecx, edx
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
and ecx, 0x80000007
lea eax, [eax + ebx + 2]
jns 0x30134ba4
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dl, 1
shl dl, cl
not dl
and byte [eax], dl
pop edi
pop esi
pop ebx
leave
ret 0xc