Function at 0x53d280
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]
mov word [esp + 0x6c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
test edx, edx
je 0x53d355
mov eax, edx
and eax, 3
xor ecx, ecx
cmp edx, 4
jb 0x53d30f
and edx, 0xfffffffc
xor ecx, ecx
nop word cs:[eax + 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 0x53d2e0
test eax, eax
je 0x53d32e
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 0x53d320
movzx edx, word [esp + 0x56]
mov eax, dword [edi]
mov edi, 0xf
test dx, dx
jne 0x53d3ea
cmp word [esp + 0x54], 0
je 0x53d35f
mov edi, 0xe
jmp 0x53d3e8
mov eax, dword [edi]
cmp word [esp + 0x54], 0
jne 0x53d34b
cmp word [esp + 0x52], 0
je 0x53d36e
mov edi, 0xd
jmp 0x53d3e8
cmp word [esp + 0x50], 0
je 0x53d37d
mov edi, 0xc
jmp 0x53d3e8
cmp word [esp + 0x4e], 0
je 0x53d38c
mov edi, 0xb
jmp 0x53d3e8
cmp word [esp + 0x4c], 0
je 0x53d39b
mov edi, 0xa
jmp 0x53d3e8
cmp word [esp + 0x4a], 0
je 0x53d3aa
mov edi, 9
jmp 0x53d3e8
cmp word [esp + 0x48], 0
je 0x53d3b9
mov edi, 8
jmp 0x53d3e8
cmp word [esp + 0x46], 0
je 0x53d3c8
mov edi, 7
jmp 0x53d3e8
cmp word [esp + 0x44], 0
je 0x53d3d7
mov edi, 6
jmp 0x53d3e8
cmp word [esp + 0x42], 0
je 0x53da1e
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 0x53d411
inc edx
cmp edi, edx
jne 0x53d400
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 0x53d6a7
movzx ebx, word [esp + 0x3c]
mov dword [esp + 0x28], ebx
lea ebx, [ebx + esi*2]
cmp ebx, 4
ja 0x53d6a7
mov dword [esp + 0x64], esi
movzx esi, word [esp + 0x3e]
mov dword [esp + 0x24], esi
lea ebx, [esi + ebx*2]
cmp ebx, 8
ja 0x53d6a7
movzx eax, word [esp + 0x40]
lea ebx, [eax + ebx*2]
cmp ebx, 0x10
jg 0x53d6a2
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x42]
lea esi, [eax + ebx*2]
mov ebx, 0x20
sub ebx, esi
js 0x53d6a2
mov dword [esp + 0x10], eax
add ebx, ebx
movzx eax, word [esp + 0x44]
mov dword [esp + 4], eax
sub ebx, eax
mov eax, 0xffffffff
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x46]
mov dword [esp + 0x34], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x48]
mov dword [esp + 0x60], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x4a]
mov dword [esp + 0x20], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x4c]
mov dword [esp + 0x30], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x4e]
mov dword [esp + 0x5c], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x50]
mov dword [esp + 0x1c], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x52]
mov dword [esp + 0x18], esi
sub ebx, esi
js 0x53d6a7
add ebx, ebx
movzx esi, word [esp + 0x54]
mov dword [esp + 0x14], esi
sub ebx, esi
js 0x53d6a7
mov esi, ebx
add esi, ebx
movzx ebx, word [esp]
mov dword [esp], esi
cmp esi, ebx
jb 0x53d6a7
mov esi, ebx
cmp dword [esp + 0xa0], 0
sete bl
cmp dword [esp], esi
je 0x53d566
or bl, cl
jne 0x53d6a7
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
add ecx, eax
mov word [esp + 0x6e], 0
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x24]
add eax, ecx
mov word [esp + 0x72], cx
mov ecx, dword [esp + 0xc]
add ecx, eax
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x10]
add eax, ecx
mov word [esp + 0x76], cx
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 4]
add ebx, eax
mov word [esp + 0x78], ax
mov eax, dword [esp + 0x34]
add eax, ebx
mov word [esp + 0x7a], bx
add ecx, eax
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [esp + 0x7e], cx
add esi, eax
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x5c]
add eax, esi
mov word [esp + 0x82], si
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x18]
add eax, ecx
mov word [esp + 0x86], cx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov word [esp + 0x88], ax
mov word [esp + 0x8a], cx
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x53d65a
xor eax, eax
cmp ecx, 1
jne 0x53d9ba
mov ecx, dword [esp + 0xa8]
test cl, 1
je 0x53d65a
movzx ecx, word [ebp + eax*2]
test ecx, ecx
je 0x53d65a
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 0x53d6b2
cmp eax, 1
jne 0x53d975
mov eax, 1
cmp dword [esp + 8], 0xa
ja 0x53d6a7
mov al, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x101
mov dword [esp + 0x1c], 0x59b2e2
mov dword [esp + 0x18], 0x59b2a4
mov dword [esp + 0x58], 0
jmp 0x53d6d9
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
mov dword [esp + 0x2c], 0
mov eax, 1
mov ecx, dword [esp + 8]
shl eax, cl
mov dword [esp + 0x14], eax
dec eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
mov ebx, dword [eax]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ebx
lea eax, [ebx + 2]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov eax, edx
sub eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
movzx ebx, word [eax + ecx*2]
movzx ecx, bx
lea eax, [ecx + 1]
mov esi, dword [esp + 0x20]
cmp eax, esi
jae 0x53d768
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
jmp 0x53d798
mov eax, esi
cmp esi, ecx
jbe 0x53d77e
mov al, 0x60
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jmp 0x53d798
sub ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + ecx*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x28], eax
mov esi, 0xffffffff
mov ecx, dword [esp]
shl esi, cl
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
shr eax, cl
mov dword [esp + 0x64], esi
lea ecx, [esi*4]
lea ecx, [ecx + eax*4]
add ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov eax, esi
nop word cs:[eax + eax]
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 + 0x64]
mov esi, eax
jne 0x53d7d0
mov ecx, edx
dec cl
mov esi, 1
shl esi, cl
mov ebx, dword [esp + 0xc]
nop
mov eax, esi
shr esi, 1
test eax, ebx
jne 0x53d800
lea ecx, [eax - 1]
and ecx, ebx
add ecx, eax
cmp eax, 1
mov eax, 0
cmovb ecx, eax
dec word [esp + edx*2 + 0x38]
je 0x53d827
mov esi, dword [esp + 0x10]
jmp 0x53d844
cmp edx, edi
mov esi, dword [esp + 0x10]
je 0x53d937
mov eax, dword [esp + 0xb4]
movzx eax, word [eax + esi*2 + 2]
movzx edx, word [ebp + eax*2]
inc esi
mov dword [esp + 0x10], esi
cmp edx, dword [esp + 8]
jbe 0x53d730
mov esi, ecx
and esi, dword [esp + 0x5c]
cmp esi, dword [esp + 0x30]
je 0x53d730
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 4]
test eax, eax
cmove eax, dword [esp + 8]
mov ecx, edx
mov dword [esp + 4], eax
sub ecx, eax
mov eax, 1
mov dword [esp], ecx
shl eax, cl
cmp edx, edi
jae 0x53d8b6
mov ecx, edi
sub ecx, dword [esp + 4]
mov dword [esp], ecx
mov ecx, edx
movzx ebx, word [esp + ecx*2 + 0x38]
sub eax, ebx
jle 0x53d8a5
add eax, eax
inc ecx
cmp ecx, edi
jb 0x53d893
jmp 0x53d8ac
sub ecx, dword [esp + 4]
mov dword [esp], ecx
mov eax, 1
mov ecx, dword [esp]
shl eax, cl
mov ebx, dword [esp + 0x14]
add ebx, eax
cmp ebx, 0x535
setae ch
mov dword [esp + 0x14], ebx
cmp ebx, 0x251
setae cl
mov eax, 1
test byte [esp + 0x2c], ch
jne 0x53d6a7
and cl, byte [esp + 0x58]
jne 0x53d6a7
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov ecx, dword [esp]
mov byte [eax + esi*4], cl
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
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
jmp 0x53d716
test ecx, ecx
je 0x53d951
mov eax, dword [esp + 0x68]
mov byte [eax + ecx*4], 0x40
mov edx, dword [esp]
mov byte [eax + ecx*4 + 1], dl
mov word [eax + ecx*4 + 2], 0
mov eax, dword [esp + 0x14]
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 0x53d6a7
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x59b360
mov dword [esp + 0x18], 0x59b320
cmp eax, 2
sete al
mov dword [esp + 0x58], eax
jne 0x53d6d1
mov eax, 1
mov dword [esp + 0x2c], 0
cmp dword [esp + 8], 9
ja 0x53d6a7
jmp 0x53d6d9
mov eax, dword [esp + 0xa8]
and eax, 0xfffffffe
mov dword [esp], eax
xor eax, eax
jmp 0x53d9d7
add eax, 2
cmp dword [esp], eax
je 0x53d62d
movzx esi, word [ebp + eax*2]
test esi, esi
je 0x53d9f8
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 0x53d9cb
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 0x53d9cb
mov ecx, eax
cmp word [esp + 0x40], 0
je 0x53da2f
mov edi, 4
jmp 0x53da4b
cmp word [esp + 0x3e], 0
je 0x53da3e
mov edi, 3
jmp 0x53da4b
cmp word [esp + 0x3c], 0
je 0x53da54
mov edi, 2
xor edx, edx
mov eax, ecx
jmp 0x53d3ea
cmp word [esp + 0x3a], 0
je 0x53da7b
xor eax, eax
test ecx, ecx
setne al
mov edi, 1
xor ecx, ecx
mov dword [esp], 0
mov edx, 1
jmp 0x53d411
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 0x53d961