Function at 0x10036bd0
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 0x10036c81
and eax, 0xffff7fff
mov dword [edi + 0x44], eax
jmp 0x100371b9
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x10036d5f
call dword [0x10121004]
mov ecx, dword [0x1013cd38]
mov edx, 9
mov ecx, dword [ecx]
call fcn.10024740
mov ebx, dword [0x10174f98]
mov esi, eax
xor eax, eax
cmp ebx, esi
je 0x10036cc8
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.10043680
mov eax, dword [0x1013cd88]
mov dword [0x10174f98], esi
cmp eax, 0xffffffff
je 0x10036d0a
mov edx, dword [0x1013ccd0]
mov dword [edx], eax
mov dword [0x1013cd88], 0xffffffff
mov edx, dword [edx]
mov ecx, dword [edi + 0x40]
call fcn.10043530
jmp 0x10036d65
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
je 0x10036d3f
mov ecx, dword [0x519d9c]
xor eax, eax
mov edx, dword [0x519da0]
test ecx, ecx
je 0x10036d3b
mov esi, dword [edi + 0x64]
cmp dword [edx + eax*4], esi
je 0x10036d36
inc eax
cmp eax, ecx
jb 0x10036d28
xor eax, eax
jmp 0x10036d49
inc eax
test eax, eax
jg 0x10036d3f
xor eax, eax
jmp 0x10036d49
mov ecx, edi
call fcn.10021430
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.10043530
jmp 0x10036d65
call dword [0x10121190]
mov ecx, dword [edi + 0x78]
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x10036f23
lea edx, [ebp - 0xc]
call fcn.1006e7b0
cmp eax, 0xffffffff
je 0x10036d89
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.1006e7b0
cmp eax, 0xffffffff
je 0x10036da3
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 4
xor bl, bl
cmp dword [0x51c714], 0
je 0x10036efb
mov ecx, dword [edi + 0x78]
lea edx, [ebp - 0xc]
call fcn.1006e7b0
cmp eax, 0xffffffff
je 0x10036efb
mov esi, dword [ebp - 0xc]
mov dword [esi + 0x44], 0
mov dword [esi + 0x28], 0
test byte [esi + 0x10], 1
jne 0x10036e1b
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 0x10036e15
push str._nError:_exec_script_proc:_script_load_failed_
call fcn.10016d10
add esp, 4
jmp 0x10036efb
or dword [esi + 0x10], 1
mov bl, 1
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10036efb
mov ecx, 0x124
test word [eax + 0x80], cx
jne 0x10036efb
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x10036e54
push 0x28
push eax
mov edx, esi
mov ecx, 0xd
call fcn.100cd950
mov dword [ebp - 4], eax
test bl, bl
jne 0x10036e6d
test eax, eax
jne 0x10036e6d
mov eax, dword [esi + 0x58]
mov dword [ebp - 4], eax
test eax, eax
je 0x10036efb
cmp eax, 0xffffffff
je 0x10036efb
cmp dword [esi + 0x3c], 0
jne 0x10036e82
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
or dword [esi + 0x10], 4
test bl, bl
je 0x10036ed1
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 0x10036eb3
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.1006e7b0
cmp eax, 0xffffffff
je 0x10036f13
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x44]
jmp 0x10036f15
xor ebx, ebx
mov eax, dword [0x1013cc2c]
cmp dword [eax], 1
je 0x10037084
mov ecx, dword [0x101822f8]
test ecx, ecx
je 0x10036f54
mov dword [ecx + 4], 2
mov dword [ecx + 0x10], ebx
call fcn.100cb290
mov eax, dword [0x101822f8]
cmp dword [eax + 0x90], 0
jbe 0x10036f54
cmp dword [eax + 0x44], 1
je 0x100371b9
test ebx, ebx
jne 0x100371b9
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10036f77
mov ecx, edi
call fcn.1001a520
test al, al
je 0x10036f77
mov eax, dword [ebp - 8]
call dword [0x10120e10]
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x1003708e
call dword [0x10121674]
call dword [0x10121610]
mov ecx, dword [0x51094c]
test ecx, ecx
je 0x10036fa2
mov ecx, dword [ecx + 4]
call fcn.100325c0
test esi, esi
jne 0x10036fae
mov eax, dword [0x1013ccc8]
or dword [eax], 2
call dword [0x10121564]
xor esi, esi
cmp dword [0x56d37c], esi
jbe 0x10036fe4
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 0x10036fc6
mov edi, dword [ebp - 8]
cmp dword [0x56d38c], 0
je 0x10036ff2
call fcn.10035b10
mov ecx, dword [0x10176038]
mov eax, ecx
or ecx, 0x800
mov dword [0x10176038], ecx
xor ecx, eax
je 0x10037011
xor ecx, ecx
call fcn.100b6470
call dword [0x10120e28]
mov edx, dword [0x10176038]
mov esi, eax
mov ecx, edx
and edx, 0xfffff7ff
mov dword [0x10176038], edx
xor edx, ecx
je 0x10037038
xor ecx, ecx
call fcn.100b6470
cmp esi, 0xffffffff
jne 0x100370f8
mov eax, 1
call dword [0x10121678]
lea ecx, [esi + 0x1b]
call fcn.1006b250
mov dword [edi + 0x48], 0
call dword [0x10121568]
call dword [0x10120e20]
or edx, esi
or ecx, esi
call fcn.10043530
lea ecx, [esi + 2]
call fcn.1001cd00
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 0x100370bd
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.10020fc0
test eax, eax
jne 0x100370bd
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 0x100370cc
mov edx, dword [edx + 4]
jmp 0x100370ce
xor edx, edx
cmp byte [0x10142c62], 0
mov ecx, edi
mov dword [ebp - 0xc], edx
je 0x100370e3
call fcn.10063a50
jmp 0x100370f8
call fcn.1008c110
test al, al
jne 0x100370f8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call dword [0x10120e38]
cmp dword [0x51093c], 0
je 0x10037138
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, 0x51093c
nop dword [eax]
cmp byte [0x101558f3], 0
je 0x1003712d
push 0
push 0x4ff
push 1
push 0
push 0
call esi
call fcn.10014bd0
call dword [0x101212e8]
cmp dword [ebx], 0
jne 0x10037110
mov eax, dword [0x1013cd38]
cmp edi, dword [eax]
jne 0x10037193
mov eax, 1
call dword [0x10121678]
mov ecx, 0x1a
call fcn.1006b250
call dword [0x10121568]
call dword [0x10120e20]
or edx, 0xffffffff
or ecx, edx
call fcn.10043530
cmp byte [0x1013cd84], 0
je 0x100371b9
mov eax, dword [0x1013ccc4]
mov ecx, 1
mov dword [eax], 0
call fcn.1001cd00
mov eax, dword [0x1013ccc4]
mov dword [eax], edi
jmp 0x100371b9
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.10021000
test eax, eax
jne 0x100371b9
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 0x10037084
cmp edi, ecx
jne 0x100371e3
mov eax, dword [0x56d378]
cmp eax, dword [ecx + 0x28]
jne 0x10037084
mov eax, dword [0x1013ccd0]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret