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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ecx]
push esi
mov dword [esp + 0x1c], eax
mov esi, edx
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x38], esi
mov edx, dword [esi + 0x34]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x30], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
je 0x4d37a6
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x4d3785
sub eax, 1
je 0x4d377e
sub eax, 1
je 0x4d3777
mov eax, str.UNION
jmp 0x4d378a
mov eax, str.INTERSECT
jmp 0x4d378a
mov eax, str.EXCEPT
jmp 0x4d378a
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.00483840
add esp, 0xc
mov dword [esp + 0x10], 1
jmp 0x4d4052
cmp dword [edx + 0x3c], 0
je 0x4d37f3
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x4d37e6
sub eax, 1
je 0x4d37d9
sub eax, 1
je 0x4d37cc
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4d3790
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4d3790
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4d3790
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4d3790
call fcn.004d2cd0
mov cl, byte [esp + 0x40]
mov edi, eax
mov dword [esp + 0x14], edi
cmp cl, 0xc
jne 0x4d3845
mov eax, dword [esi]
mov edx, 0x39
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.0049d7a0
mov eax, dword [edi]
add esp, 8
mov ecx, dword [edi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4d3830
mov eax, 0x734437
jmp 0x4d383c
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffef
mov cl, 0xe
mov byte [eax], 8
mov byte [esp + 0x40], cl
movzx eax, word [esi + 6]
test eax, 0x200
je 0x4d38b3
mov eax, dword [esi + 0x34]
mov ecx, 1
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x4d3870
mov esi, eax
inc ecx
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x4d3860
mov dword [esp + 0x2c], ecx
nop
mov edi, dword [esi + 0x34]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov edx, esi
push eax
mov dword [esi + 0x34], 0
call fcn.004d7700
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x34], edi
test eax, eax
jne 0x4d4052
mov eax, dword [esp + 0x2c]
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x4d3870
jmp 0x4d4052
test eax, 0x2000
je 0x4d38d2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004d3020
add esp, 4
jmp 0x4d3ed2
cmp dword [esi + 0x30], 0
je 0x4d38f0
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004d4560
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x4d3cbe
sub eax, 1
je 0x4d3b55
sub eax, 1
je 0x4d3cbe
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x44], eax
mov ecx, edi
call fcn.0049d7a0
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.004cfe80
mov edx, dword [esp + 0x20]
or word [eax + 6], 0x10
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov word [esp + 0x70], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004d7700
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d4052
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x39]
mov ecx, edi
call fcn.0049d7a0
mov dword [esi + 0x14], eax
mov edx, esi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004d7700
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [esi + 0x1c], eax
jb 0x4d3a15
ja 0x4d3a0f
cmp dword [esi + 0x18], ecx
jbe 0x4d3a15
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.004b0550
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x40], eax
jne 0x4d3a59
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x4d3a49
nop
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4d3a40
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004d2430
add esp, 4
mov ecx, edi
call fcn.0049dc20
mov ecx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.0049dc20
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x1c], eax
call fcn.004d2d20
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x6d
push edi
push dword [esp + 0x20]
call fcn.0049d7a0
mov ecx, dword [esp + 0x14]
call fcn.004b5470
mov ecx, dword [esp + 0x1c]
mov edi, eax
push edi
push dword [esp + 0x28]
mov edx, 0x66
call fcn.0049d7a0
mov ecx, dword [esp + 0x24]
mov edx, 0x45
push 0
push edi
push dword [esp + 0x30]
mov dword [esp + 0x58], eax
push dword [esp + 0x40]
call fcn.0049db60
mov ecx, dword [esp + 0x2c]
mov edx, edi
call fcn.004b5490
push dword [esp + 0x54]
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov edx, esi
push edi
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esi]
call fcn.004d0b00
add esp, 0x3c
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0049dc70
push dword [esp + 0x3c]
mov edx, 8
push dword [esp + 0x20]
call fcn.0049d7a0
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.0049dc70
push 0
push dword [esp + 0x30]
mov edx, 0x3d
call fcn.0049d7a0
push 0
push dword [esp + 0x30]
mov edx, 0x3d
mov ecx, edi
call fcn.0049d7a0
add esp, 0x18
jmp 0x4d3ed2
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1d0]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004d7700
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
test eax, eax
jne 0x4d4052
mov edx, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [edx + 8]
mov dword [esi + 8], ecx
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x4d3c28
push ecx
mov edx, 0x2e
mov ecx, edi
call fcn.0049d730
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4d3c28
push 0
push ecx
push ecx
mov edx, 0x8b
mov ecx, edi
call fcn.0049d670
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edx, 0x59
lea eax, [ecx + 1]
push eax
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.0049d670
mov eax, dword [esi + 0xc]
add esp, 0xc
inc eax
mov edx, 0x8b
mov ecx, edi
push 0xffffffffffffffff
push eax
push dword [esi + 8]
call fcn.0049d670
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, esi
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004d7700
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [eax + 0x18]
add ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x1c]
adc edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4d3ca4
lea edx, [esp + 0x3c]
call fcn.004b1590
test eax, eax
je 0x4d3ca4
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4d3ca4
cdq
cmp dword [esp + 0x24], edx
jb 0x4d3ca4
ja 0x4d3c9e
cmp dword [esp + 0x1c], eax
jbe 0x4d3ca4
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d3ed2
mov edx, eax
mov ecx, edi
call fcn.0049dfa0
jmp 0x4d3ed2
cmp cl, 1
jne 0x4d3ccd
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x4d3d03
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [ecx + 0x44], eax
mov ecx, edi
call fcn.0049d7a0
add esp, 8
mov dword [esi + 0x10], eax
mov ecx, esi
call fcn.004cfe80
or word [eax + 6], 0x10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x7c], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.004d7700
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d4052
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x34], eax
sete al
inc al
mov dword [esi + 0x3c], 0
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0xc]
mov dword [esi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.004d7700
mov edx, dword [esi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.004b12d0
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], 0
jne 0x4d3dd6
mov eax, dword [ecx + 0x18]
add dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [esi + 0x1c], eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.004b0550
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x40], eax
mov al, byte [esp + 0x40]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp al, 1
je 0x4d3ed2
cmp al, 9
jne 0x4d3e30
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x4d3e20
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4d3e17
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004d2430
add esp, 4
mov ecx, edi
call fcn.0049dc20
mov ecx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.0049dc20
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x38], eax
call fcn.004d2d20
add esp, 4
mov edx, 0x6d
push edi
push dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0049d7a0
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push dword [esp + 0x40]
mov edi, dword [edi + 0x20]
mov edx, esi
push eax
push 0
push 0
push dword [esp + 0x38]
push dword [esi]
call fcn.004d0b00
mov edx, dword [esp + 0x58]
add esp, 0x24
mov ecx, dword [esp + 0x14]
call fcn.0049dc70
push edi
push dword [esp + 0x20]
mov edx, 8
mov edi, ecx
call fcn.0049d7a0
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0049dc70
push 0
push dword [esp + 0x28]
mov edx, 0x3d
call fcn.0049d7a0
add esp, 0x10
movzx edx, byte [esi + 4]
xor eax, eax
cmp byte [esi + 4], 0x74
mov ecx, dword [esp + 0xc]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.004d18c0
add esp, 0xc
test byte [esi + 6], 0x10
je 0x4d4052
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
push 1
mov edx, dword [eax]
mov dword [esp + 0x30], edx
call fcn.004d1770
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x4d3f2b
mov dword [esp + 0x10], 7
jmp 0x4d4052
mov edx, dword [esp + 0x2c]
lea edi, [ecx + 0x14]
xor eax, eax
mov dword [esp + 0x34], eax
test edx, edx
jle 0x4d3f80
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, esi
push eax
call fcn.004d2e50
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x4d3f5e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [edi], eax
mov eax, dword [esp + 0x34]
add edi, 4
mov edx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x34], eax
cmp eax, edx
jl 0x4d3f40
mov ecx, dword [esp + 0x28]
nop word [eax + eax]
lea eax, [esi + 0x10]
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
test eax, eax
js 0x4d402d
lea edi, [eax + eax*4]
mov eax, dword [esi]
shl edi, 2
cmp byte [eax + 0x41], 0
je 0x4d3fb2
mov eax, 0x734434
jmp 0x4d3fb7
mov eax, dword [esi + 4]
add eax, edi
mov dword [eax + 8], edx
inc dword [ecx]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4d3ff2
cmp byte [eax + 0x41], 0
jne 0x4d3ff2
push dword [edx + edi + 0x10]
movsx edx, byte [edx + edi + 1]
mov ecx, eax
call fcn.0049dff0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edi + 0x10], ecx
mov byte [eax + edi + 1], 0xfa
jmp 0x4d4003
push ecx
mov edx, 0xfffffffa
mov ecx, eax
call fcn.0049dff0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x34], edx
mov dword [eax], 0xffffffff
add eax, 4
cmp edx, 2
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
jl 0x4d3f93
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x38], esi
test esi, esi
jne 0x4d3f80
add dword [ecx], 0xffffffff
jne 0x4d4052
push ecx
call fcn.00480d40
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push 1
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x24]
call fcn.004cfbf0
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret