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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013ccc4]
push ebx
push esi
mov esi, dword [0x1013cb58]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
and dword [edi + 0x3c], 0xfffffeff
mov dword [eax], edi
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x28], 8
mov dword [esi], edi
mov dword [esi + 4], 4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xffffffff
mov edx, 4
mov eax, dword [ebp - 8]
call dword [0x10121504]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x44]
test eax, 0x8081
je 0x10036c91
and eax, 0xffff7fff
mov dword [edi + 0x44], eax
jmp 0x100371c9
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x10036d6f
call dword [0x10121004]
mov ecx, dword [0x1013cd38]
mov edx, 9
mov ecx, dword [ecx]
call fcn.10024750
mov ebx, dword [0x10174f98]
mov esi, eax
xor eax, eax
cmp ebx, esi
je 0x10036cd8
mov eax, ebx
sub eax, esi
cdq
mov ecx, eax
mov eax, 0xfa
xor ecx, edx
sub ecx, edx
cdq
inc ecx
idiv ecx
push eax
push 0
push esi
push ebx
mov edx, 0x4b
mov ecx, 0x1d9
call fcn.10043690
mov eax, dword [0x1013cd88]
mov dword [0x10174f98], esi
cmp eax, 0xffffffff
je 0x10036d1a
mov edx, dword [0x1013ccd0]
mov dword [edx], eax
mov dword [0x1013cd88], 0xffffffff
mov edx, dword [edx]
mov ecx, dword [edi + 0x40]
call fcn.10043540
jmp 0x10036d75
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
je 0x10036d4f
mov ecx, dword [0x519d9c]
xor eax, eax
mov edx, dword [0x519da0]
test ecx, ecx
je 0x10036d4b
mov esi, dword [edi + 0x64]
cmp dword [edx + eax*4], esi
je 0x10036d46
inc eax
cmp eax, ecx
jb 0x10036d38
xor eax, eax
jmp 0x10036d59
inc eax
test eax, eax
jg 0x10036d4f
xor eax, eax
jmp 0x10036d59
mov ecx, edi
call fcn.10021440
mov eax, dword [eax + 0xc]
mov edx, dword [0x1013ccd0]
add eax, eax
mov dword [edx], eax
mov edx, eax
mov ecx, dword [edi + 0x40]
call fcn.10043540
jmp 0x10036d75
call dword [0x10121190]
mov ecx, dword [edi + 0x78]
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x10036f33
lea edx, [ebp - 0xc]
call fcn.1006e780
cmp eax, 0xffffffff
je 0x10036d99
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov ecx, dword [edi + 0x78]
lea edx, [ebp - 0xc]
call fcn.1006e780
cmp eax, 0xffffffff
je 0x10036db3
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 4
xor bl, bl
cmp dword [0x51c714], 0
je 0x10036f0b
mov ecx, dword [edi + 0x78]
lea edx, [ebp - 0xc]
call fcn.1006e780
cmp eax, 0xffffffff
je 0x10036f0b
mov esi, dword [ebp - 0xc]
mov dword [esi + 0x44], 0
mov dword [esi + 0x28], 0
test byte [esi + 0x10], 1
jne 0x10036e2b
mov eax, dword [esi + 0x14]
and eax, 0xffffff
lea ecx, [eax + eax*4]
mov eax, dword [0x51c7c8]
lea eax, [eax + ecx*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call dword [0x101214a4]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x10036e25
push str._nError:_exec_script_proc:_script_load_failed_
call fcn.10016d20
add esp, 4
jmp 0x10036f0b
or dword [esi + 0x10], 1
mov bl, 1
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10036f0b
mov ecx, 0x124
test word [eax + 0x80], cx
jne 0x10036f0b
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x10036e64
push 0x28
push eax
mov edx, esi
mov ecx, 0xd
call fcn.100cd950
mov dword [ebp - 4], eax
test bl, bl
jne 0x10036e7d
test eax, eax
jne 0x10036e7d
mov eax, dword [esi + 0x58]
mov dword [ebp - 4], eax
test eax, eax
je 0x10036f0b
cmp eax, 0xffffffff
je 0x10036f0b
cmp dword [esi + 0x3c], 0
jne 0x10036e92
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
or dword [esi + 0x10], 4
test bl, bl
je 0x10036ee1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
call dword [0x10121218]
mov eax, dword [esi + 0x88]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10036ec3
mov eax, dword [esi + 0x58]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], 0
mov eax, dword [ebp - 0xc]
call dword [0x10121224]
mov edx, 0xffffffff
mov eax, dword [ebp - 0xc]
call dword [0x10121570]
mov dword [esi + 0x2c], 0xd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x101216d0]
mov edx, esi
mov ecx, 0xd
push 0x29
push 0
call fcn.100cd950
mov dword [esi + 0x38], 0
mov ecx, dword [edi + 0x78]
lea edx, [ebp - 0xc]
call fcn.1006e780
cmp eax, 0xffffffff
je 0x10036f23
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x44]
jmp 0x10036f25
xor ebx, ebx
mov eax, dword [0x1013cc2c]
cmp dword [eax], 1
je 0x10037094
mov ecx, dword [0x101822f8]
test ecx, ecx
je 0x10036f64
mov dword [ecx + 4], 2
mov dword [ecx + 0x10], ebx
call fcn.100cb2b0
mov eax, dword [0x101822f8]
cmp dword [eax + 0x90], 0
jbe 0x10036f64
cmp dword [eax + 0x44], 1
je 0x100371c9
test ebx, ebx
jne 0x100371c9
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10036f87
mov ecx, edi
call fcn.1001a530
test al, al
je 0x10036f87
mov eax, dword [ebp - 8]
call dword [0x10120e10]
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x1003709e
call dword [0x10121674]
call dword [0x10121610]
mov ecx, dword [0x51094c]
test ecx, ecx
je 0x10036fb2
mov ecx, dword [ecx + 4]
call fcn.100325d0
test esi, esi
jne 0x10036fbe
mov eax, dword [0x1013ccc8]
or dword [eax], 2
call dword [0x10121564]
xor esi, esi
cmp dword [0x56d37c], esi
jbe 0x10036ff4
mov ebx, 0x56d390
lea edi, [ebx - 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x10], eax
mov edx, 0
mov eax, dword [ebp - 0x10]
call dword [0x10120e08]
inc esi
cmp esi, dword [edi]
jb 0x10036fd6
mov edi, dword [ebp - 8]
cmp dword [0x56d38c], 0
je 0x10037002
call fcn.10035b20
mov ecx, dword [0x10176038]
mov eax, ecx
or ecx, 0x800
mov dword [0x10176038], ecx
xor ecx, eax
je 0x10037021
xor ecx, ecx
call fcn.100b6490
call dword [0x10120e28]
mov edx, dword [0x10176038]
mov esi, eax
mov ecx, edx
and edx, 0xfffff7ff
mov dword [0x10176038], edx
xor edx, ecx
je 0x10037048
xor ecx, ecx
call fcn.100b6490
cmp esi, 0xffffffff
jne 0x10037108
mov eax, 1
call dword [0x10121678]
lea ecx, [esi + 0x1b]
call fcn.1006b220
mov dword [edi + 0x48], 0
call dword [0x10121568]
call dword [0x10120e20]
or edx, esi
or ecx, esi
call fcn.10043540
lea ecx, [esi + 2]
call fcn.1001cd10
mov ecx, dword [0x1013ccd0]
mov dword [ecx], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x56d38c], 0
je 0x100370cd
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.10020fd0
test eax, eax
jne 0x100370cd
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [0x10121124]
mov edx, dword [0x51094c]
test edx, edx
je 0x100370dc
mov edx, dword [edx + 4]
jmp 0x100370de
xor edx, edx
cmp byte [0x10142c62], 0
mov ecx, edi
mov dword [ebp - 0xc], edx
je 0x100370f3
call fcn.10063a90
jmp 0x10037108
call fcn.1008c130
test al, al
jne 0x10037108
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call dword [0x10120e38]
cmp dword [0x51093c], 0
jle 0x10037148
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, 0x51093c
nop dword [eax]
cmp byte [0x101558f3], 0
je 0x1003713d
push 0
push 0x4ff
push 1
push 0
push 0
call esi
call fcn.10014be0
call dword [0x101212e8]
cmp dword [ebx], 0
jg 0x10037120
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x100371a3
mov eax, 1
call dword [0x10121678]
mov ecx, 0x1a
call fcn.1006b220
call dword [0x10121568]
call dword [0x10120e20]
or edx, 0xffffffff
or ecx, edx
call fcn.10043540
cmp byte [0x1013cd84], 0
je 0x100371c9
mov eax, dword [0x1013ccc4]
mov ecx, 1
mov dword [eax], 0
call fcn.1001cd10
mov eax, dword [0x1013ccc4]
mov dword [eax], edi
jmp 0x100371c9
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.10021010
test eax, eax
jne 0x100371c9
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [0x10121124]
mov eax, dword [0x1013cd38]
mov dword [edi + 0x48], 0
mov ecx, dword [eax]
test byte [ecx + 0x44], 0x80
jne 0x10037094
cmp edi, ecx
jne 0x100371f3
mov eax, dword [0x56d378]
cmp eax, dword [ecx + 0x28]
jne 0x10037094
mov eax, dword [0x1013ccd0]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret