Function at 0x534040
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
test edx, edx
je 0x534105
mov eax, edx
and eax, 3
xor ecx, ecx
cmp edx, 4
jb 0x5340bf
and edx, 0xfffffffc
xor ecx, ecx
nop dword [eax]
movzx esi, word [ebp + ecx*2]
inc word [esp + esi*2 + 0x38]
movzx esi, word [ebp + ecx*2 + 2]
inc word [esp + esi*2 + 0x38]
movzx esi, word [ebp + ecx*2 + 4]
inc word [esp + esi*2 + 0x38]
movzx esi, word [ebp + ecx*2 + 6]
inc word [esp + esi*2 + 0x38]
add ecx, 4
cmp edx, ecx
jne 0x534090
test eax, eax
je 0x5340de
lea ecx, [ecx*2]
add ecx, ebp
xor edx, edx
nop
movzx esi, word [ecx + edx*2]
inc word [esp + esi*2 + 0x38]
inc edx
cmp eax, edx
jne 0x5340d0
movzx edx, word [esp + 0x56]
mov eax, dword [edi]
mov edi, 0xf
test dx, dx
jne 0x53419a
cmp word [esp + 0x54], 0
je 0x53410f
mov edi, 0xe
jmp 0x534198
mov eax, dword [edi]
cmp word [esp + 0x54], 0
jne 0x5340fb
cmp word [esp + 0x52], 0
je 0x53411e
mov edi, 0xd
jmp 0x534198
cmp word [esp + 0x50], 0
je 0x53412d
mov edi, 0xc
jmp 0x534198
cmp word [esp + 0x4e], 0
je 0x53413c
mov edi, 0xb
jmp 0x534198
cmp word [esp + 0x4c], 0
je 0x53414b
mov edi, 0xa
jmp 0x534198
cmp word [esp + 0x4a], 0
je 0x53415a
mov edi, 9
jmp 0x534198
cmp word [esp + 0x48], 0
je 0x534169
mov edi, 8
jmp 0x534198
cmp word [esp + 0x46], 0
je 0x534178
mov edi, 7
jmp 0x534198
cmp word [esp + 0x44], 0
je 0x534187
mov edi, 6
jmp 0x534198
cmp word [esp + 0x42], 0
je 0x5347bb
mov edi, 5
xor edx, edx
mov dword [esp], edx
cmp eax, edi
cmovae eax, edi
mov edx, 1
nop word [eax + eax]
mov cl, 1
cmp word [esp + edx*2 + 0x38], 0
jne 0x5341c1
inc edx
cmp edi, edx
jne 0x5341b0
mov edx, edi
cmp eax, edx
cmovbe eax, edx
mov dword [esp + 8], eax
movzx esi, word [esp + 0x3a]
mov eax, 0xffffffff
cmp esi, 2
ja 0x534451
movzx ebx, word [esp + 0x3c]
mov dword [esp + 0x68], ebx
lea ebx, [ebx + esi*2]
cmp ebx, 4
ja 0x534451
mov dword [esp + 0x24], esi
movzx esi, word [esp + 0x3e]
mov dword [esp + 0x28], esi
lea ebx, [esi + ebx*2]
cmp ebx, 8
ja 0x534451
movzx esi, word [esp + 0x40]
lea ebx, [esi + ebx*2]
cmp ebx, 0x10
ja 0x534451
movzx eax, word [esp + 0x42]
lea ebx, [eax + ebx*2]
cmp ebx, 0x20
ja 0x53444c
mov dword [esp + 0x10], esi
movzx esi, word [esp + 0x44]
mov dword [esp + 4], esi
lea ebx, [esi + ebx*2]
mov esi, 0x40
sub esi, ebx
js 0x53444c
mov ebx, esi
mov dword [esp + 0xc], eax
add ebx, esi
movzx esi, word [esp + 0x46]
sub ebx, esi
mov eax, 0xffffffff
js 0x534451
mov dword [esp + 0x64], esi
add ebx, ebx
movzx esi, word [esp + 0x48]
mov dword [esp + 0x34], esi
sub ebx, esi
js 0x534451
add ebx, ebx
movzx esi, word [esp + 0x4a]
sub ebx, esi
js 0x534451
mov dword [esp + 0x20], esi
add ebx, ebx
movzx esi, word [esp + 0x4c]
mov dword [esp + 0x30], esi
sub ebx, esi
js 0x534451
add ebx, ebx
movzx esi, word [esp + 0x4e]
sub ebx, esi
js 0x534451
mov dword [esp + 0x60], esi
add ebx, ebx
movzx esi, word [esp + 0x50]
mov dword [esp + 0x1c], esi
sub ebx, esi
js 0x534451
add ebx, ebx
movzx esi, word [esp + 0x52]
sub ebx, esi
js 0x534451
mov dword [esp + 0x18], esi
add ebx, ebx
movzx esi, word [esp + 0x54]
mov dword [esp + 0x14], esi
sub ebx, esi
js 0x534451
add ebx, ebx
movzx esi, word [esp]
cmp ebx, esi
jb 0x534451
cmp dword [esp + 0xa0], 0
sete byte [esp]
cmp ebx, esi
je 0x534314
or byte [esp], cl
jne 0x534451
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x24]
add ecx, eax
mov word [esp + 0x6e], 0
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x28]
add eax, ecx
mov word [esp + 0x72], cx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov word [esp + 0x74], ax
mov ebx, dword [esp + 0xc]
add ebx, ecx
mov word [esp + 0x76], cx
mov eax, dword [esp + 4]
add eax, ebx
mov word [esp + 0x78], bx
mov ecx, dword [esp + 0x64]
add ecx, eax
mov word [esp + 0x7a], ax
mov eax, dword [esp + 0x34]
add eax, ecx
mov word [esp + 0x7c], cx
mov ecx, dword [esp + 0x20]
add ecx, eax
mov word [esp + 0x7e], ax
mov eax, dword [esp + 0x30]
add eax, ecx
mov word [esp + 0x80], cx
mov ecx, dword [esp + 0x60]
add ecx, eax
mov word [esp + 0x82], ax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov word [esp + 0x84], cx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov word [esp + 0x86], ax
mov eax, dword [esp + 0x14]
add eax, ecx
mov word [esp + 0x88], cx
mov word [esp + 0x8a], ax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x534408
xor eax, eax
cmp ecx, 1
jne 0x534757
mov ecx, dword [esp + 0xa8]
test cl, 1
je 0x534408
movzx ecx, word [ebp + eax*2]
test ecx, ecx
je 0x534408
movzx esi, word [esp + ecx*2 + 0x6c]
lea ebx, [esi + 1]
mov word [esp + ecx*2 + 0x6c], bx
mov ecx, dword [esp + 0xb4]
mov word [ecx + esi*2], ax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x53445c
cmp eax, 1
jne 0x53447d
mov eax, 1
cmp dword [esp + 8], 0xa
ja 0x534451
mov al, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x101
mov dword [esp + 0x1c], 0x59395c
mov dword [esp + 0x18], 0x59391e
mov dword [esp + 0x58], 0
jmp 0x5344c4
mov eax, 0xffffffff
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x5344bc
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x5939da
mov dword [esp + 0x18], 0x59399a
cmp dword [esp + 0xa0], 2
sete al
mov dword [esp + 0x58], eax
jne 0x5344bc
mov eax, 1
mov dword [esp + 0x2c], 0
cmp dword [esp + 8], 9
ja 0x534451
jmp 0x5344c4
mov dword [esp + 0x2c], 0
mov eax, 1
mov ecx, dword [esp + 8]
shl eax, cl
mov dword [esp + 0x5c], eax
dec eax
mov dword [esp + 0x60], eax
mov word [esp + 0x6c], 0
mov ebx, dword [esp + 0xac]
mov eax, dword [ebx]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov esi, 1
shl esi, cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], eax
add eax, 2
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
movzx ebx, word [eax + ecx*2]
movzx eax, bx
lea ecx, [eax + 1]
mov esi, dword [esp + 0x20]
cmp ecx, esi
jae 0x53454d
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
jmp 0x53457b
mov ecx, esi
sub eax, esi
jae 0x534563
mov al, 0x60
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jmp 0x53457b
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + eax*2]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0x28], eax
mov ecx, edx
mov ebx, dword [esp + 0xc]
sub ecx, ebx
mov dword [esp], ecx
mov esi, 0xffffffff
shl esi, cl
mov eax, dword [esp + 4]
mov ecx, ebx
shr eax, cl
mov dword [esp + 0x68], esi
lea ecx, [esi*4]
lea ecx, [ecx + eax*4]
add ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
mov eax, esi
mov ebx, dword [esp + 0x24]
mov byte [ecx + esi*4 - 2], bl
mov ebx, dword [esp]
mov byte [ecx + esi*4 - 1], bl
mov ebx, dword [esp + 0x28]
mov word [ecx + esi*4], bx
add eax, dword [esp + 0x68]
mov esi, eax
jne 0x5345ad
mov ebx, dword [esp]
mov ecx, edx
dec cl
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 4]
mov eax, esi
shr esi, 1
test eax, ecx
jne 0x5345de
mov esi, ecx
lea ecx, [eax - 1]
and ecx, esi
add ecx, eax
cmp eax, 1
mov eax, 0
cmovb ecx, eax
mov dword [esp + 4], ecx
dec word [esp + edx*2 + 0x38]
je 0x53460b
mov ecx, dword [esp + 0x10]
jmp 0x534628
cmp edx, edi
mov ecx, dword [esp + 0x10]
je 0x534715
mov eax, dword [esp + 0xb4]
movzx eax, word [eax + ecx*2 + 2]
movzx edx, word [ebp + eax*2]
inc ecx
cmp edx, dword [esp + 8]
jbe 0x534522
mov esi, dword [esp + 4]
and esi, dword [esp + 0x60]
cmp esi, dword [esp + 0x30]
je 0x534522
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc]
test eax, eax
cmove eax, dword [esp + 8]
mov ecx, edx
mov dword [esp + 0xc], eax
sub ecx, eax
mov eax, 1
mov dword [esp], ecx
shl eax, cl
cmp edx, edi
jae 0x534698
mov ecx, edi
sub ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, edx
movzx ebx, word [esp + ecx*2 + 0x38]
sub eax, ebx
jle 0x534687
add eax, eax
inc ecx
cmp ecx, edi
jb 0x534675
jmp 0x53468e
sub ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov eax, 1
mov ecx, dword [esp]
shl eax, cl
mov ebx, dword [esp + 0x5c]
add ebx, eax
cmp ebx, 0x535
setae ch
mov dword [esp + 0x5c], ebx
cmp ebx, 0x251
setae cl
mov eax, 1
test byte [esp + 0x2c], ch
jne 0x534451
and cl, byte [esp + 0x58]
jne 0x534451
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0xac]
mov eax, dword [ebx]
mov ecx, dword [esp]
mov byte [eax + esi*4], cl
mov eax, dword [ebx]
mov ecx, dword [esp + 8]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [ebx]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, eax
shr ecx, 2
mov word [eax + esi*4 + 2], cx
mov ecx, dword [esp]
mov dword [esp + 0x30], esi
mov eax, ebx
jmp 0x534508
cmp dword [esp + 4], 0
je 0x534733
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov byte [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 1], bl
mov word [eax + ecx*4 + 2], 0
mov eax, dword [esp + 0x5c]
shl eax, 2
mov ecx, dword [esp + 0xac]
add dword [ecx], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x534451
mov eax, dword [esp + 0xa8]
and eax, 0xfffffffe
mov dword [esp], eax
xor eax, eax
jmp 0x534774
add eax, 2
cmp dword [esp], eax
je 0x5343db
movzx esi, word [ebp + eax*2]
test esi, esi
je 0x534795
movzx ebx, word [esp + esi*2 + 0x6c]
lea ecx, [ebx + 1]
mov word [esp + esi*2 + 0x6c], cx
mov ecx, dword [esp + 0xb4]
mov word [ecx + ebx*2], ax
movzx esi, word [ebp + eax*2 + 2]
test esi, esi
je 0x534768
movzx ecx, word [esp + esi*2 + 0x6c]
lea ebx, [ecx + 1]
mov word [esp + esi*2 + 0x6c], bx
lea esi, [eax + 1]
mov ebx, dword [esp + 0xb4]
mov word [ebx + ecx*2], si
jmp 0x534768
mov ecx, eax
cmp word [esp + 0x40], 0
je 0x5347cc
mov edi, 4
jmp 0x5347e8
cmp word [esp + 0x3e], 0
je 0x5347db
mov edi, 3
jmp 0x5347e8
cmp word [esp + 0x3c], 0
je 0x5347f1
mov edi, 2
xor edx, edx
mov eax, ecx
jmp 0x53419a
cmp word [esp + 0x3a], 0
je 0x534818
xor eax, eax
test ecx, ecx
setne al
mov edi, 1
xor ecx, ecx
mov dword [esp], 0
mov edx, 1
jmp 0x5341c1
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov dword [esp + 8], 1
jmp 0x534743