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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10061449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov byte [esp + 0x10], dl
mov dword [esp + 0x2c], ecx
je 0x100358c4
mov dword [esp + 0x34], 0x1ab5
cmp dword [esp + 0x34], 0x6d0
push 1
pop eax
jge 0x1003588e
lea eax, [esp + 0x20]
push eax
push 0x1006d14c
call fcn.100472fb
mov eax, dword [esp + 0x28]
pop ecx
pop ecx
test eax, eax
je 0x10035887
xor ebx, ebx
dec eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
push 0x1006d14c
call fcn.100472fb
pop ecx
pop ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10037131
mov dword [esp + 0x38], eax
mov dword [esp + 0x74], ebx
mov cl, bl
cmp dword [esp + 0x28], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
jle 0x10035857
lea eax, [esp + 0x1c]
push eax
push 0x1006d14c
call fcn.100472fb
mov edx, dword [esp + 0x40]
mov edi, edx
pop ecx
pop ecx
mov eax, dword [edx + 4]
mov ecx, eax
cmp byte [ecx + 0xd], 0
jne 0x100357cd
mov esi, dword [esp + 0x1c]
cmp dword [ecx + 0x10], esi
jge 0x100357b7
mov ecx, dword [ecx + 8]
jmp 0x100357c7
cmp byte [edi + 0xd], 0
je 0x100357c3
cmp esi, dword [ecx + 0x10]
cmovl edi, ecx
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100357ad
cmp byte [edi + 0xd], 0
jne 0x100357d5
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x100357f3
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jge 0x100357ea
mov edi, eax
mov eax, dword [eax]
jmp 0x100357ed
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x100357df
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edx
cmp edx, edi
je 0x10035824
mov esi, ebx
lea ecx, [esp + 0x24]
inc esi
call fcn.100370f7
cmp dword [esp + 0x24], edi
jne 0x10035801
mov eax, dword [esp + 0x18]
test esi, esi
push 1
movzx eax, al
pop esi
cmovne eax, esi
mov dword [esp + 0x18], eax
movzx eax, byte [0x1418b1aa]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
call fcn.1003715c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jl 0x10035787
mov ecx, dword [esp + 0x18]
test cl, cl
mov edx, 0x1006dc5c
mov eax, 0x1006dc58
cmove eax, edx
push eax
call fcn.100478db
or dword [esp + 0x78], 0xffffffff
pop ecx
lea ecx, [esp + 0x38]
call fcn.10036d54
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10035747
mov ecx, dword [esp + 0x2c]
xor eax, eax
inc eax
cmp byte [esp + 0x10], 0
je 0x1003589c
mov byte [ecx], al
jmp 0x10035a24
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x10035a24
push 0x3aa2
push 0x2164
xor dl, dl
mov ecx, 0x1b65
call fcn.10036617
pop ecx
jmp 0x10035a0d
cmp byte [ebp + 0xc], 0
je 0x10035a10
push 0
pop ebx
mov dword [esp + 0x34], 0xb9b
cmp dword [esp + 0x34], 0xd63
push 1
pop ecx
jle 0x1003595a
xor esi, esi
mov dword [esp + 0x30], ebx
inc esi
mov eax, ebx
mov dword [esp + 0x14], 0x125f
mov dword [esp + 0x18], eax
mov edi, eax
mov dword [esp + 0x2c], 0x4758
mov eax, edi
lea ecx, [esp + 0x50]
cdq
push edx
push eax
call fcn.10001ade
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003591d
mov eax, dword [eax]
push eax
call fcn.1004752f
pop ecx
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.10013e9b
dec edi
dec dword [esp + 0x2c]
jne 0x10035905
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
add eax, edi
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
jne 0x100358fb
inc edi
mov dword [esp + 0x30], edi
cmp edi, 0x5dfd
jl 0x100358ed
xor ecx, ecx
inc ecx
mov dword [esp + 0x14], 0x8c45cdbe
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ebx
jmp 0x10035988
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x48], 0xe46552de
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x10035978
mov dword [esp + 0x14], ecx
mov edx, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
je 0x100359b1
mov edx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], ebx
je 0x100359d9
mov ebx, ecx
mov eax, dword [esp + 0x14]
lea ecx, [ebx + 0x5de05dae]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x34], 0xaa9
jge 0x10035a24
push str.wdlmc_kdxictkjh_slywlmlsk
call fcn.1004752f
pop ecx
jmp 0x10035a24
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10035a24
mov edx, 0x3d34
xor cl, cl
call fcn.10033180
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret